Commit Graph

173 Commits

Author SHA1 Message Date
Lior Halphon cd82311c54 Apply auto-resizing also to border mode change 2025-04-04 14:16:54 +03:00
Lior Halphon 1d7ecb7f1b ^C before loading a ROM quits again 2025-03-30 19:41:07 +03:00
Lior Halphon 2b89923a6f SDL now automatically resizes the window upon loading a ROM if it was not manually resized by the user 2025-03-30 00:52:56 +03:00
Lior Halphon f1d52c53d3 Allow using joysticks as faux analog controllers 2025-03-29 14:52:01 +03:00
Lior Halphon 9096f629c9 Fix double ^C quit on non-Windows SDL builds 2025-03-28 13:11:26 +03:00
Lior Halphon d50f9df974 Reset while being paused in SDL now unpauses 2025-03-28 13:11:04 +03:00
Lior Halphon 15215000f9 Major improvements to the SDL debugging interface, especially on Windows
1. No more separate EXE for the debugger version, the console can be freely opened at any time with ^C, and closed freely without terminating the emulator
2. On all platforms, the SDL emulator window is no longer unresponsive while the debugger is waiting for an input
3. Pressing keys in the emulator window while the debugger is waiting for inputs will trigger a terminal bell
4. Async debugging now supports Windows 7, 8.x, and earlier builds of Windows 10
2025-03-27 23:45:51 +02:00
Lior Halphon e2b22a0df6 Make it possible to disable rounded corners on Windows 11 2025-03-23 21:34:05 +02:00
Lior Halphon 29d8cca511 Keep moving and renaming things 2024-11-16 22:53:06 +02:00
Lior Halphon fdc39f9bd6 Rename GB_log_attributes to GB_log_attributes_t 2024-11-16 16:53:06 +02:00
Lior Halphon fc76063ec0 File associations & icons on Windows, use a manifest for themed dialogs 2024-11-15 16:17:42 +02:00
Lior Halphon 2dfde867a9 Syncing with the App Store branch 2024-11-08 14:53:16 +02:00
Lior Halphon 92f425655d iOS cheats support 2024-09-07 01:25:11 +03:00
Lior Halphon d97c2fb701 Add Rapid A/B to Cocoa and SDL, closes #589 2024-08-30 16:12:31 +03:00
Lior Halphon b6c6b9ed54 Automatic model selection in the Cocoa and SDL frontends, closes #648 2024-08-25 14:36:48 +03:00
Lior Halphon 3116f63e37
Merge pull request #631 from laamaa/bugfix/wayland_crash_on_exit
call SDL_Quit() on exit to prevent a crash on app exit with linux/wayland
2024-06-19 20:02:41 +03:00
Lior Halphon 496baafbf9
Explicit void casts is kind of unnecessary for a function that generally never fails. 2024-06-19 20:02:24 +03:00
Jonne Kokkonen 7f110c4415
Add notes to SDL_Quit atexit call
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
2024-06-15 20:33:26 +03:00
Lior Halphon a3128d89c0 Support for a distinct CGB-E boot ROM, internal support for an distinct AGB-0 boot ROM 2024-06-09 22:49:49 +03:00
Jonne Kokkonen ee3878e43a call SDL_Quit() on exit to prevent a crash on wayland 2024-06-02 20:57:46 +03:00
Lior Halphon 44a35e57f6 Avoid GCC false positives 2024-04-14 00:22:14 +03: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 9f56f5fee0 Switch the Windows build to x86-64 2023-12-12 00:26:13 +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 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 4f8b081f82 SDL cheats 2023-02-09 20:49:01 +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 51aa09517d SDL cart swap 2022-09-17 13:57:38 +03:00
Lior Halphon 0ebfdb840a Channel toggling in SDL 2022-09-16 12:20:23 +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 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 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 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 91a2b459f9
Initialize the SDL audio system in the driver 2022-07-18 22:16:32 +02:00
Lior Halphon a856566b54 Fixed GB_audio_get_queue_length to actually be the length rather than size, fixed XAudio2.7 audio overflow crash, changed the maximum lag limit to 1/8s rather than 1/4s. Closes #473 2022-07-18 21:56:47 +03:00
Lior Halphon cbf1a5481f Allow the SDL port to use custom palettes imported from Cocoa 2022-07-17 15:48:41 +03:00
Lior Halphon 9a966a5581 SDL GUI follows the DMG palette 2022-07-17 01:19:43 +03:00
Lior Halphon f9401300b5 SDL – Add setting to allow background joypad control 2022-07-16 18:23:08 +03:00
Lior Halphon 88f5b22bf6 Allow setting a non-default audio driver, fixes #466 2022-07-08 17:51:42 +03:00
Lior Halphon a773297b3a Add CGB revision selection to the SDL frontend 2022-07-02 18:11:55 +03:00
Lior Halphon aaf9a76b67 The vblank callback now reports the vblank type 2022-06-25 01:59:51 +03:00
Lior Halphon 24796acccf MBC7 mouse control in SDL 2022-06-10 23:51:06 +03:00