Commit Graph

239 Commits

Author SHA1 Message Date
Lior Halphon 44a35e57f6 Avoid GCC false positives 2024-04-14 00:22:14 +03:00
Lior Halphon 226825bda4 Fix menu layout in bordered/SGB mode, in the SDL port 2024-01-06 18:45:18 +02:00
Lior Halphon 927b7493e5 Fix menu redrawing mode in the SDL frontend in bordered/SGB mode, fixes #576 2024-01-06 17:46:12 +02:00
Lior Halphon e9c2c866eb Replace XAudio 2.7 and 2.9 with the redistrib version of XAudio 2.9 2024-01-06 17:41:24 +02:00
Lior Halphon c9fb3b3ec6 Fix XAudio2.7 hanging on device disconnection 2023-12-23 20:42:21 +02:00
Lior Halphon e89df2df43 Automatically disable VSync on displays lower than 60Hz 2023-12-23 16:34:40 +02:00
Lior Halphon fcf31be735 Fix SDL controllers not automatically reconnecting. Fixes #563 2023-12-15 15:24:09 +02:00
Lior Halphon 404e153744 Use Expat rather than X11, as X11 has one extra clause. Fixes #574 2023-12-14 21:54:46 +02:00
Lior Halphon 9f56f5fee0 Switch the Windows build to x86-64 2023-12-12 00:26:13 +02:00
Lior Halphon a795514bc4 Refer to SameBoy's license as the X11 License 2023-11-25 21:21:34 +02:00
Jon c709ea0d98 SIGHUP -> SIGUSR1 2023-08-04 13:53:58 -04:00
Jon e40e254add Add SIGHUP to reload to the SDL frontend 2023-08-02 11:35:01 -04:00
Lior Halphon 57b50cab63 Work around bad Clang and GCC optimizations of inline compile-time consts (They can't be static before C23, which isn't supported by Clang) 2023-06-21 21:47:30 +03:00
Lior Halphon fef175dcc6 Use #pragma once for include guards, use #import exclusively on Obj-C files 2023-06-09 14:44:57 +03:00
Lior Halphon 5b37d3c402 Add a debugger reset command, with a frontend-handled reload option. Closes #537 2023-04-11 12:02:32 +03:00
Lior Halphon 147341a1d4 Add model/revision selection CLI option to the SDL frontend, closes #533 2023-04-05 18:22:28 +03:00
Lior Halphon 947687ac0d Use standard function 2023-02-09 20:56:08 +02:00
Lior Halphon 4f8b081f82 SDL cheats 2023-02-09 20:49:01 +02:00
Lior Halphon 38a130714f Make the SDL menus left aligned 2023-02-09 19:49:07 +02:00
Lior Halphon a040b1b395 Fixing a wrong default 2023-02-05 12:58:50 +02:00
Lior Halphon 65a646f050 Expose an API to reset the rewind buffer, explicitly reset on ROM changes 2023-02-02 00:18:01 +02:00
Lior Halphon d9bf739f52 Remove auto-generated comments 2023-01-12 23:19:24 +02:00
Lior Halphon f1e912b64f Map the B button to back on SDL menus 2022-11-06 13:52:30 +02:00
Lior Halphon 51aa09517d SDL cart swap 2022-09-17 13:57:38 +03:00
Lior Halphon 93eb32c40f Group all options into a menu 2022-09-17 13:33:17 +03:00
Lior Halphon 0ebfdb840a Channel toggling in SDL 2022-09-16 12:20:23 +03:00
Lior Halphon 7efd26c548 Allow building with older SDL versions 2022-08-24 23:59:38 +03:00
Lior Halphon 2c7343a6ad Automatically update the copyright year 2022-08-14 19:10:00 +03:00
Lior Halphon 6ecc2f15b5 Link to debugger help and sponsor pages 2022-08-14 18:44:40 +03:00
Lior Halphon 52ab200544 Accurately emulate CGB first frame behavior. Fixes #432, fixes #482 2022-08-09 00:54:31 +03:00
Lior Halphon 1bdd58d051 Auto-skip D-Pad configuration if hats are used, closes #480 2022-07-31 01:17:04 +03:00
Lior Halphon 7b5846fbaf Build break 2022-07-31 01:16:03 +03:00
Lior Halphon 3f7bcb9af2 Rename several color correction modes, add a new accurate mode 2022-07-30 13:32:40 +03:00
Lior Halphon 12655cb50c Fix Windows build 2022-07-25 22:21:44 +03:00
Lior Halphon ae14fcfbd7 Fix allow background controllers not working correctly on start up 2022-07-25 19:08:55 +03:00
Lior Halphon c5362023c8 Fix false positives when detecting unwritable save paths 2022-07-25 00:26:42 +03:00
Lior Halphon 10df4d7a13 Missing static 2022-07-24 14:54:14 +03:00
Lior Halphon 45bd5342e7 GBP support in SDL 2022-07-24 14:51:22 +03:00
Lior Halphon 5cd65f845d Warn when progress can't be saved 2022-07-24 13:23:50 +03:00
Lior Halphon 0e1d6545e9 Various improvements and fixes 2022-07-23 14:38:55 +03:00
Lior Halphon 04afa64597 Can't be NULL 2022-07-23 14:24:28 +03:00
Lior Halphon 8e125b31f6 macOS compatibility, stability 2022-07-23 14:21:31 +03:00
Lior Halphon 2a29570f17 Merge remote-tracking branch 'origin/master' into openal 2022-07-23 13:41:35 +03:00
Lior Halphon 349114097b Add joypad hotkeys to SDL 2022-07-19 23:55:34 +03:00
Maximilian Mader de10338962
Change `_audio_get_queue_length()` accoring to a856566b
This also reduces the internal audio buffer size down to 5 ms,
similar to the SDL backend at 96 kHz.
2022-07-18 22:24:00 +02:00
Maximilian Mader 8760cc5517
Mark `check_al_error()` as `static` 2022-07-18 22:16:34 +02:00
Maximilian Mader 91a2b459f9
Initialize the SDL audio system in the driver 2022-07-18 22:16:32 +02:00
Maximilian Mader d48037beec
Remove `__FILE__` usage in the OpenAL driver 2022-07-18 22:15:35 +02:00
Maximilian Mader 8fa02e0ea2
Make sure that audio resumes playing after clearing the queue 2022-07-18 22:15:35 +02:00
Maximilian Mader 7a24073f6d
Make sure that `AL_BUFFERS_PROCESSED` returns a valid value in `_audio_deinit()` 2022-07-18 22:15:35 +02:00