Commit Graph

2677 Commits

Author SHA1 Message Date
Snowy 8657d3e4b6 Fix GB_ENUM on C++
The else branch results in an error from defining a type in a cast.
2023-10-28 14:20:31 +02:00
Lior Halphon aff42affc0
Merge pull request #570 from max-m/fix-cheats
Fix memory corruption on removal / update of cheats with the same address hash
2023-10-22 21:01:54 +03:00
Maximilian Mader 0ece951173
Fix memory corruption on removal of multiple cheats with the same address hash 2023-10-22 18:39:14 +02:00
Hitomi Nakayama d267d83cec Added warning for SDL init failure 2023-10-12 17:57:33 -07:00
Lior Halphon e59bc436bd CGB-C NR10 conflict improvements 2023-09-25 23:35:26 +03:00
Lior Halphon 340d4e0630 WIP: Fix APU regressions (CGB-D/E only so far) 2023-09-09 23:54:01 +03:00
Lior Halphon 3ab6150508 Fixed weird printer related crashes on open, seems like an Apple regression? 2023-09-03 16:46:00 +03:00
Lior Halphon 5192e3a07b Merge branch 'master' of github.com:LIJI32/SameBoy 2023-09-03 15:54:42 +03:00
Lior Halphon d662407df0 Accurate emulation of NR10 write glitches 2023-09-03 15:54:37 +03:00
Lior Halphon 4f69e4e86c
Merge pull request #561 from vailkyte/tes
Force parsing order
2023-09-02 13:38:08 +03:00
vailkyte 816cdf2c62
Force parsing order 2023-09-01 22:19:06 -05:00
Lior Halphon 7542de74e7
Merge pull request #560 from rizinorg/oob-read
Fix oob reads in debugger command parsing
2023-08-19 17:05:02 +03:00
Florian Märkl 6b6800445f Fix oob reads in debugger command parsing
The length of only one of the operand strings was checked before the
memcmp in these cases, causing out-of-bounds reads when the other was
shorter.
This could be seen by compiling with ASAN and for example executing any
command longer than 2 characters.
2023-08-19 15:03:27 +02:00
Lior Halphon 240d8d1ffa Silence warning 2023-08-12 13:40:16 +03:00
Lior Halphon 3bad68f2ab Add backstep to the Cocoa button bar 2023-08-12 13:35:32 +03:00
Lior Halphon 3168e0e1fa Fixed potential deadlocks 2023-08-12 13:34:57 +03:00
Lior Halphon 7e6f1f866e
Merge pull request #558 from arthurgiroux/bugfix/hexfiend-compilation-mac
Removed unused local variable "lineIndex" that was generating a warning.
2023-08-06 17:52:17 +03:00
Arthur Giroux 10955abe6c Removed unused local variable "lineIndex" that was generating a warning. 2023-08-06 16:47:07 +02:00
Lior Halphon 3389f50884
Merge pull request #557 from arkie/master
Add SIGUSR1 to reload to the SDL frontend
2023-08-04 23:27:53 +03:00
Jon c709ea0d98 SIGHUP -> SIGUSR1 2023-08-04 13:53:58 -04:00
Lior Halphon 12ad85355c Build the iOS frontend without the debugger 2023-08-04 20:02:42 +03:00
Lior Halphon a9ce9f538f Experimental backstepping support 2023-08-04 19:54:14 +03:00
Lior Halphon 0b54eea084 Change the internal macro to use hidden, which guarantees a standard ABI 2023-08-04 19:53:52 +03:00
Jon e40e254add Add SIGHUP to reload to the SDL frontend 2023-08-02 11:35:01 -04:00
Lior Halphon fb3db82d42 The Cocoa memory viewer new symbolicates the selection 2023-07-30 20:11:35 +03:00
Lior Halphon ac45888a37 The memory viewer's "Go to" field can now switch banks and address spaces 2023-07-30 14:25:41 +03:00
Lior Halphon aedb3e2332 Fix GB_debugger_evaluate not correctly returning the bank 2023-07-30 14:21:41 +03:00
Lior Halphon 048da6e6d1 Fixed a bug where accurate RTC emulation halted while SameBoy wasn't running 2023-07-29 22:27:50 +03:00
Lior Halphon 4ab256d896 Correct read emulation of the BANK register while still in the boot ROM 2023-07-29 16:08:26 +03:00
Lior Halphon 10d996330c Inclusive ranges 2023-07-29 16:05:28 +03:00
Lior Halphon 29becc2870 Treat local and non-local symbols differently 2023-07-29 14:51:31 +03:00
Lior Halphon d209628369 Fixed a bug where breakpoint and watchpoints would sometime stop working 2023-07-29 13:45:26 +03:00
Lior Halphon 323b6fafa8 Ranged breakpoints and watchpoints 2023-07-29 01:00:36 +03:00
Lior Halphon f2466fd770 Deprecated the IO_ symbols, rename rWAV_START and rWAV_END 2023-07-29 01:00:23 +03:00
Lior Halphon dd1330d707 Breakpoints and watchpoints are now identified by a unique id rather than an address 2023-07-28 19:07:56 +03:00
Lior Halphon 61f3c8d7f3 Fixed an edge case where jump-to breakpoints did not work as expected/took the slow path 2023-07-28 00:49:31 +03:00
Lior Halphon 54f45f2fd3 Fix a bug where jump-to breakpoint disassembled the wrong address under certain scenarios 2023-07-28 00:47:15 +03:00
Lior Halphon 636349d5f2 Not going to use Constraints, Apple. Getting toolbar items to behave is hard enough as is 2023-07-23 22:03:42 +03:00
Lior Halphon a5903ca5bc Do the same for the CRT shader 2023-07-23 14:20:09 +03:00
Lior Halphon df1b89bf61 Update constants in the LCD shader that weren't updated after shaders switched to using linear RGB 2023-07-23 14:14:30 +03:00
Lior Halphon d93c1e501c Remove outdated comments, PPU timings and and the STAT interrupt are no longer based on these sources 2023-07-08 00:55:59 +03:00
Lior Halphon 8cb4085218 Fix Xbox Wireless Controller support, closes #527 2023-07-08 00:55:16 +03:00
Lior Halphon 803abd9925 Halt and Stop trigger the OAM bug 2023-07-04 23:25:53 +03:00
Lior Halphon 49ec02b3b3 Replace cycle_oam_bug_pc with a generic call to cycle_oam_bug 2023-07-04 01:07:01 +03:00
Lior Halphon e9be438d91 Turns out jr triggers the OAM bug, thanks Sono! 2023-07-04 00:21:57 +03:00
Lior Halphon 1b50856dcf More of the same 2023-06-21 21:49:23 +03:00
Lior Halphon 207851bc56 Merge branch 'master' of github.com:LIJI32/SameBoy 2023-06-21 21:47:45 +03: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 16294baa05
Merge pull request #549 from nununoisy/master
Library access to raw APU channel volumes
2023-06-20 20:58:35 +03:00
Noah Sweilem 074d152a4e Formatting fixes 2023-06-20 10:28:18 -07:00