Commit Graph

1726 Commits

Author SHA1 Message Date
Lior Halphon da1003263f Redo save states to remove severe code duplication between buffers and files 2021-03-21 20:32:30 +02:00
Lior Halphon ad54dc57b0 Improved time syncing when turning the LCD on and off, fixes #193 2021-03-21 15:15:04 +02:00
Lior Halphon 5c1b89e82d Update version 2021-03-01 23:27:40 +02:00
Lior Halphon 5a966bba91 Register ISX files on FreeDesktop 2021-03-01 23:21:07 +02:00
Lior Halphon f50d9310a7 This shouldn't have been here 2021-03-01 23:00:11 +02:00
Lior Halphon 4d67fa8e80 Close all related windows when closing a document 2021-03-01 22:58:52 +02:00
Lior Halphon ea97c1dc0b Fix an APU regression that caused some games in DMG mode to play in the wrong pitch 2021-03-01 21:44:54 +02:00
Lior Halphon d2ed1343e5 Add missing mkdir 2021-02-28 20:41:58 +02:00
Lior Halphon c6ea57209f
Merge pull request #356 from RobLoach/libretro-updates
libretro: Sync updates from libretro
2021-02-28 20:14:15 +02:00
Rob Loach f21fd33cc3
libretro: Remove APP_STL 2021-02-28 13:13:40 -05:00
Rob Loach 975d379d76
libretro: Remove empty CFLAGS 2021-02-28 13:13:12 -05:00
Lior Halphon 2d593a95e3 Update version to 0.14.1 2021-02-28 17:15:19 +02:00
Lior Halphon 57080c48bc No need for -1 2021-02-28 16:50:46 +02:00
Rob Loach 6a995bfe10
libretro: Sync updates from libretro 2021-02-28 09:45:18 -05:00
Lior Halphon ec7d756e3b
Merge pull request #351 from NieDzejkob/symbol-off-by-one
Fix off-by-one in symbol search
2021-02-28 15:27:50 +02:00
Lior Halphon 0fbd714d4a
Merge pull request #352 from NieDzejkob/value-to-string-oob
value_to_string: use snprintf
2021-02-28 15:23:29 +02:00
Lior Halphon 81bfea9ba2
Coding style, ensuring string termination. 2021-02-28 15:23:14 +02:00
Lior Halphon d2eb8e0996 Addresses issues mentioned by #355 2021-02-28 15:17:00 +02:00
Lior Halphon 5cc2dcc864 Fix #353 better 2021-02-28 14:55:30 +02:00
Lior Halphon d50514ede9 Fix #353 2021-02-28 14:51:58 +02:00
Lior Halphon 5cd920d363 Merge branch 'master' of https://github.com/LIJI32/SameBoy 2021-02-28 03:41:13 +02:00
Lior Halphon 1fdb4f09b4 Fix a sweep regression in DMG/SGB mode and CGB-C mode 2021-02-28 03:40:58 +02:00
Jakub Kądziołka c9665d0449
value_to_string: use snprintf
Currently, value_to_string and debugger_value_to_string use an
error-prone calculation to avoid overflow. This was once adjusted
already, and one of the codepaths is still vulnerable. Put this in a
symfile:

    01:5678 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

and execute `p 1:$5679`. On Linux, the canary terminates the process.
2021-02-27 19:33:31 +01:00
Lior Halphon ec2661ac03
Merge pull request #350 from NieDzejkob/destdir-mkdir
Fix DESTDIR installation
2021-02-27 20:29:22 +02:00
Jakub Kądziołka e8bfc4050e
Fix off-by-one in symbol search
Before this commit, printing an address that's after every symbol in a
bank would not show it relative to the last symbol.
2021-02-27 19:29:06 +01:00
Jakub Kądziołka 0a4cb8148f
Fix DESTDIR installation
Installing into a fresh DESTDIR would error out due to non-existent bin
directory
2021-02-27 18:33:22 +01:00
Lior Halphon 54d733f356
Merge pull request #349 from NieDzejkob/memmove-fix
Use memmove for overlapping copy
2021-02-27 19:31:06 +02:00
Jakub Kądziołka 1dae345b24
Use memmove for overlapping copy 2021-02-27 18:29:59 +01:00
Lior Halphon e57b5dd57e Update version and copyright date 2021-02-27 19:08:32 +02:00
Lior Halphon a59cd856c7 Fix make install issues 2021-02-27 18:39:14 +02:00
Lior Halphon cd2e4b3cef Fixes and improvements to XDG installation 2021-02-27 17:34:11 +02:00
Lior Halphon 3c0f4d458d Update Windows icon 2021-02-27 15:51:56 +02:00
Lior Halphon aebc11744c Update readme 2021-02-27 15:37:40 +02:00
Lior Halphon 2b263937da Allow make install under FreeDesktop 2021-02-27 14:32:07 +02:00
Lior Halphon 0a983b788e Update icon 2021-02-27 04:13:31 +02:00
Lior Halphon ce44773caa Make the printer not deadlock after a sudden termination 2021-02-26 16:40:35 +02:00
Lior Halphon cb721dae5d Make the automation use the accurate RTC mode 2021-02-26 01:09:40 +02:00
Lior Halphon 34b0404ffa Add RTC setting to libretro 2021-02-26 01:07:46 +02:00
Lior Halphon bae91cdb1d Add RTC option to the SDL port, fix a bug where rewind setting didn't update 2021-02-26 01:04:24 +02:00
Lior Halphon 72cb391612 Slightly improve MBC3 accuracy 2021-02-26 00:52:18 +02:00
Lior Halphon 71c6fa45e0 Accurate RTC emulation 2021-02-26 00:40:18 +02:00
Lior Halphon a13469c4e2 Fix PAL SGB in the Cocoa port 2021-02-25 22:42:02 +02:00
Lior Halphon e08df2a089 Add accurate RTC emulation mode 2021-02-25 22:12:14 +02:00
Lior Halphon 807712b9c2 Allow creating sav files from the tester (Fixes #311) 2021-02-25 18:04:52 +02:00
Lior Halphon 9fa564f97c Fix #336 2021-02-25 17:12:01 +02:00
Lior Halphon 6ec4583aa0 Tell GCC to calm down 2021-02-25 15:52:48 +02:00
Lior Halphon fa5420136e I hate the audio thread 2021-02-25 15:43:52 +02:00
Lior Halphon 4c05ebcea6 Redo the volume envelope with better timings, locking emulation and zombie mode edge cases. Fixes #344 2021-02-25 15:43:38 +02:00
Lior Halphon 8809d8ac2f More correct emulation of manual clocking of channels 1 and 2 2021-02-22 15:27:36 +02:00
Lior Halphon 71c88323b7 Rename UNROLL to unrolled (`unrolled for`) 2021-02-22 14:45:30 +02:00