Commit graph

208 commits

Author SHA1 Message Date
OPNA2608
3d00e1d784 Fix WIN32 define timing in IGFD
When the compiler hits IGFD, WIN32 is only set if standard extensions are enabled. (Why?)
IGFD identifies Windows via WIN32 instead of _WIN32. (Why?)

- WIN32 is needed for #ifdef-gated Windows-specific methods in the header & code files.
  - There's fallback code in the code file to set WIN32 if _WIN32 or __WIN32__ is set.
    - Which is hit *after* the header gets included, so the header doesn't expose required methods.
      -> Boom, error!

Workaround by moving the fallback into the header.
2022-05-08 00:34:20 +02:00
OPNA2608
58fc35227e Fix outdated calling convention in SAASound (maybe fix MinGW)
https://docs.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170

> For compatibility with previous versions, _stdcall is a synonym for __stdcall
> unless compiler option /Za (Disable language extensions) is specified.
2022-05-07 23:31:42 +02:00
tildearrow
b75336bcb6 OPL: fix channel muting - PLEASE READ!
**SUBMODULES UPDATED** - Nuked-OPL3 is no longer a submodule as I
had to directly modify the core for this
if you mess up while removing Nuked-OPL3 from your repo, delete
everything and clone again

fixes #414
2022-05-04 18:06:32 -05:00
tildearrow
e873070d84 now move these files 2022-05-01 22:22:02 -05:00
tildearrow
867f96ff01 add readme 2022-05-01 22:19:00 -05:00
tildearrow
f6fe93b0ed convertir de Shift-JIS a UTF-8
por eso es que no deseaba aceptar el uso de NSFplay
2022-05-01 22:13:11 -05:00
djmaximum17
6c517292dd Add files via upload 2022-05-01 22:00:52 -05:00
Laurens Holst
4d8f86a27c Fix horizontal scroll direction on macOS.
See open Dear ImGUI issue:
https://github.com/ocornut/imgui/issues/4019

This patches it for macOS in the local copy of imgui_impl_sdl.
2022-05-01 17:25:27 +02:00
tildearrow
c0e9b48b5b per-channel oscilloscope, part 5
SAA1099 (SAASound and MAME), Lynx, MMC5, N163, PC Engine, PC Speaker,
PET, QSound, WonderSwan, VERA, VIC-20, VRC6 and X1-010!
2022-05-01 02:40:03 -05:00
tildearrow
e1fd16637c per-channel oscilloscope, part 4
OPM, OPN2, OPLL and SN
plus hide unimplemented channels
2022-04-30 22:59:26 -05:00
tildearrow
e8c9b645c5 GUI: implement instrument preview in file dialog
SADLY it's just for the built-in file dialog
but i'll think of a solution for the external one
2022-04-25 18:58:17 -05:00
tildearrow
4d6fe8f0ea get rid of backward
thanks for the waste of time
2022-04-18 03:15:39 -05:00
tildearrow
744c5982e1 bring on backward-cpp
cross your fingers
2022-04-18 01:31:03 -05:00
tildearrow
9e0e725802 Sorry but I think I'd like to go now. 2022-04-11 00:12:24 -05:00
tildearrow
552967246d **SUBMODULE UPDATE - PLEASE READ!**
as of now I have added the Date library as a submodule in order to have
log messages in the correct time zone

please update your submodules by doing:
```
git submodule update --init --recursive
```
2022-04-10 23:01:55 -05:00
OPNA2608
d5b07aa347 Move icon_enum_callback to separate function 2022-04-09 13:32:40 +02:00
OPNA2608
194ba95633 Fix C4229
Move calling convention modifier for icon callback lambda in pfd, MSVC wasn't quite happy with this.
2022-04-09 11:23:19 +02:00
OPNA2608
54a36c4950 Fix SDL static linking 2022-04-08 20:16:42 +02:00
OPNA2608
8a6dfa8d19 pfd: Fixes for MinGW 10 2022-04-08 20:16:42 +02:00
OPNA2608
5b95cf9db9 Add new CI job to prepare for artifact uploads 2022-04-08 20:16:42 +02:00
tildearrow
0874d58fb8 damn it 2022-03-13 22:02:50 -05:00
tildearrow
2ba0185701 well that didn't last long 2022-03-13 21:46:52 -05:00
tildearrow
5e77b47467 system file picker anyone? DO NOT COMPILE! 2022-03-13 18:32:35 -05:00
tildearrow
6bca347254 maybe BUG 2022-03-13 17:29:43 -05:00
tildearrow
8bda9df487 prepare for OPL systems 2022-03-05 16:06:41 -05:00
tildearrow
b90fb02e63 OPLL: 99.9%
all features usable, except for custom patchsets (not sure how am i
gonna implement it)
2022-03-01 23:07:29 -05:00
tildearrow
bd9289cfdd store OP macros
todo
2022-02-28 18:16:05 -05:00
tildearrow
3362289e3a fix build 2022-02-25 04:38:54 -05:00
tildearrow
37f850c6c4 prepare for OPLL system - DOES NOT WORK 2022-02-25 04:26:01 -05:00
tildearrow
1e98f0c4a1 sample system rewrite! **PLEASE READ**
this commit mostly rewrites the sample system.
as of now samples can be ADPCM, 8-bit, BRR or 16-bit
or something...

consider this VERY EXPERIMENTAL.
if you find any issues REPORT THEM immediately.

it's nearly 4am...
2022-02-24 03:57:45 -05:00
tildearrow
ef0e19413c ok so fix the file dialog 2022-02-22 22:41:37 -05:00
tildearrow
4122238a4a aaaaaaaaaaaaa 2022-02-22 21:54:25 -05:00
tildearrow
d78efda9e9 3.5 2022-02-20 17:57:28 -05:00
tildearrow
d0b236ca9e fix Windows build
how did CI let this through?!
2022-02-17 04:33:19 -05:00
tildearrow
91579e09eb GUI: don't abort on font load failure
paving the way for custom fonts
2022-02-14 18:00:04 -05:00
tildearrow
2f766553e8 add SAASound as an alternate SAA1099 core
DOES NOT WORK YET
2022-02-13 17:02:49 -05:00
tildearrow
aa0e318543 add RtMidi for eventual MIDI support 2022-02-13 15:02:43 -05:00
tildearrow
fa5a732b68 GUI: extensions no longer case-sensitive
fixes #154
2022-02-08 23:13:54 -05:00
tildearrow
211208ed53 GUI: fix UI scaling on macOS
required patching ImGui D:
but hey, it mostly works! issue #35
2022-02-08 02:04:23 -05:00
tildearrow
a3beab6815 **UPDATE SUBMODULES** - PLEASE READ
i've updated the submodules. this should make ImGui work on Wayland
again (apparently).

please make sure to do `git submodule update --init --recursive`.
2022-02-07 22:09:20 -05:00
tildearrow
ba08d3515f GUI: fix several file dialog bugs
damn it
2022-02-01 02:52:36 -05:00
tildearrow
82d8728ca1 force minimum size on file picker 2022-01-31 15:03:10 -05:00
tildearrow
352441449d fix not able to enter dirs with non-Latin chars 2022-01-30 23:30:13 -05:00
tildearrow
06dfb7e803 dirent: use custom UTF-16 to UTF-8 converter
see issue #22
files/dirs with non-Latin chars are displayed after this commit
they still do not load though, but a fix is guaranteed
2022-01-20 04:52:20 -05:00
tildearrow
797ffd62da GUI: center file picker and limit to win size 2022-01-20 00:31:36 -05:00
tildearrow
f32f079ef8 fix more crashes on the file dialog
oh yes, the wonders of dealing with this useless broken file dialog.
honestly I didn't think it was broken to this point...

and no, I don't want to use the **other** file dialog as it requires
C++17 which is too ahead of time
2022-01-19 15:03:33 -05:00
tildearrow
32cdeb108f update two submodules 2022-01-18 21:51:58 -05:00
tildearrow
84f36a8c66 icon fonttttttt 2021-12-21 00:30:55 -05:00
tildearrow
2ea2faf9c0 make the file dialog undockable 2021-12-17 00:26:33 -05:00
tildearrow
7a70ccfe2e use docking branch 2021-12-13 20:55:40 -05:00
tildearrow
2f813c55e0 GUI: instrument selector 2021-12-11 16:44:02 -05:00
tildearrow
e8ac2947ab prepare for the GUI! 2021-12-11 02:10:09 -05:00
tildearrow
b358338613 arcade: minor optimization 2021-12-09 01:03:05 -05:00
tildearrow
137258c269 update SDL to prepare for MinGW 2021-12-07 13:31:02 -05:00
tildearrow
f71ee6b45d preliminary audio file output 2021-12-07 12:21:23 -05:00
tildearrow
26fac3862b add nuked OPM for eventual arcade platform... 2021-12-06 16:57:39 -05:00
tildearrow
2d3580a05c fix windows build for once 2021-05-28 15:25:55 -05:00
tildearrow
062a9837c0 G E N E S I S
without SN
2021-05-12 17:19:18 -05:00