1300 Commits
Author SHA1 Message Date
Leopoldo Pla ecd0b5f6ea Core: return after handling WX writes 2026-10-12 00:50:01 +02:00
Lior Halphon 8a2e496b48 Allow loading glitched SGB multiplayer mode 2 from save states 2026-10-11 15:54:03 +03:00
Lior Halphon f77f65ede9 Fix command_mlt_req 2026-10-11 01:11:42 +03:00
Lior Halphon b9672952d6 Logging API can now mark log lines as logical errors or warning 2026-10-04 23:51:39 +03:00
Lior Halphon 36a803567d Merge remote-tracking branch 'origin/master' 2026-10-04 00:21:50 +03:00
Lior Halphon c458e7c5d2 Merge pull request #759 from lpla/vgm-logging
Add VGM logging support
2026-10-04 00:17:21 +03:00
Leopoldo Pla e5e51b86f2 Keep VGM timing logic out of GB_advance_cycles 2026-10-03 19:53:14 +02:00
Lior Halphon e20b2b5242 Add missing update_debug_active calls 2026-10-02 02:24:33 +03:00
Leopoldo Pla 3f899b421e Report errors when closing audio recordings 2026-10-01 17:29:00 +02:00
Leopoldo Pla 9522548a23 Preserve wave RAM in VGM snapshots with the APU disabled 2026-10-01 17:28:59 +02:00
Lior Halphon d054a19e6d Better emulation of SGB command reading, closes #753 2026-09-27 17:54:01 +03:00
Lior Halphon d54f34721d Sanitize printer state 2026-08-16 13:30:00 +03:00
Lior Halphon 2de65105c8 Fix potential OOB read/write on x86-64 releases when loading corrupt save states 2026-08-16 13:27:06 +03:00
Lior Halphon 7ac8d527b5 Fix MMM01 misdetection 2026-08-16 13:25:38 +03:00
Lior Halphon 0dc71c3c9f Report weekday in Workboy, closes #763 2026-07-10 18:32:04 +03:00
Leopoldo Pla 29c7ac4118 Add initial VGM APU snapshot 2026-06-21 21:29:05 +02:00
Alex Morris 21b0dd3d64 Core: Fix object_low_line_address masking in sanitize_state 2026-06-15 19:13:48 +00:00
Leopoldo Pla 36bb495816 Reduce VGM header size to 0xC0 2026-06-07 21:41:36 +02:00
Leopoldo Pla 3395731f38 Set VGM GBC flag for CGB logs 2026-06-07 21:37:45 +02:00
Leopoldo Pla 0cc19ba024 Add VGM logging support, closes #564 2026-06-05 21:47:51 +02:00
Lior Halphon 202073bb5c API to detect MBC RAM activity, more frequent battery saves in Cocoa and SDL 2026-03-02 00:46:17 +02:00
Lior Halphon 78a6f39be1 More accurate emulation of background counting 2026-02-23 00:01:01 +02:00
Lior Halphon fe1e250c66 Minor adjustment 2026-02-21 22:19:20 +02:00
Lior Halphon 9450eb9575 Fix timing inaccuracy 2026-02-16 01:10:07 +02:00
Lior Halphon 9c23f0d685 Make the x command support hexadecimal lengths, change the syntax for assembler-like output 2026-02-14 00:48:58 +02:00
Lior Halphon e084437370 Emulate most LFSR corruptions in pre-CGB-D models (#397) 2026-02-14 00:39:27 +02:00
Lior Halphon f65aff64d9 Refinements and bugfixes 2026-02-01 21:11:23 +02:00
Lior Halphon d1a7f863d4 Basic emulation of CGB<C NR43 glitches 2026-02-01 18:10:53 +02:00
Lior Halphon cdb0c56b1d Fix build, use CGB-E instead of D for AGB glitches 2026-01-25 18:37:42 +02:00
Lior Halphon 8b3c905874 Emulate LFSR corruption in CGB-D, CGB-E, and AGB. WIP for #397 2026-01-25 18:24:46 +02:00
Lior Halphon f5965fda22 Handle an edge case more accurately 2025-12-22 22:46:05 +02:00
Lior Halphon 3d87c5c92a Improvements to channel 4 start delays, emulating channel 4 background behavior. Still not 100% complete, but should cover almost all real-world scenarios. 2025-12-14 17:46:14 +02:00
Lior Halphon 11ba1df7a3 NRx4 changing the volume envelope while retaining a sample is only applicable to channels 1 and 2, not 4 2025-11-30 21:29:37 +02:00
Lior Halphon 82d3ffdd9f Don't try to borrow a border if no ROM is loaded 2025-11-14 22:56:33 +02:00
Lior Halphon 71b485ccd0 Fix fd leak when opening ISX files 2025-11-14 22:49:15 +02:00
Lior Halphon 58035018aa Make sure we don't crash on slightly-off-standard libc implementations 2025-11-14 20:46:34 +02:00
Lior Halphon cc495c2602 Merge pull request #732 from AZero13/cheats
Removal of cheats should be based on cheat_count, not gb_cheats
2025-11-14 20:40:36 +02:00
Lior Halphon a2a19ae31f Merge pull request #730 from AZero13/xcode
Free expression if getline fails
2025-11-14 20:37:54 +02:00
AZero13 6919ace4bc Removal of cheats should be based on cheat_count, not gb_cheats
This is because we call free based on cheat_count, not if cheats is not null.
2025-11-12 10:40:56 -05:00
AZero13 2c01d64c63 Close file when done readine
We should go to exit because we close the file when done.
2025-11-12 10:39:39 -05:00
AZero13 ce89184de3 Close file if erroring out. 2025-11-10 20:05:07 -05:00
AZero13 550e919912 Free expression if getline fails
POSIX says we must free if it fails.
2025-11-10 19:56:43 -05:00
Lior Halphon 4c57a76151 Refine and comment CGB-0 PCM12 behavior 2025-10-18 00:06:42 +03:00
Lior Halphon 10801af8e3 Fix PCM34 read accuracy on CGB-C and older 2025-10-16 00:23:28 +03:00
Lior Halphon 94db2355b5 Channels 1 and 2 align different on CGB-0 to C double speed mode 2025-10-14 21:05:28 +03:00
Lior Halphon ed8c952995 The volume envelope is delayed on CGB-D and CGB-E in double speed mode 2025-10-14 15:31:31 +03:00
Lior Halphon 421fd132e3 Accurate PCM12 read for channel 2 on CGB-0 double speed 2025-10-11 19:43:27 +03:00
Lior Halphon ceae5ecd4e Fix channel 2 PCM read on CGB≤C 2025-10-11 17:48:02 +03:00
Lior Halphon 11fe9aa1c0 Add the /a modifier to the examine debugger command 2025-10-11 13:47:13 +03:00
Lior Halphon b24c539432 Minor optimizations to Ch4 2025-10-05 03:01:19 +03:00