Commit graph

116 commits

Author SHA1 Message Date
Sour
1975ab958c Debugger: Fixed crashes when switching between games from different consoles (in AOT build)
Caused by what looks like slight differences between how AOT treats an empty array (vs JIT builds) when it marshals the array (AOT sends a null pointer, JIT sends a pointer to an empty array)
This was causing issues in both builds (AOT crashed immediately because of the null pointer, JIT read from out-of-bounds memory)
2025-03-28 18:03:30 +09:00
Sour
2d96724b28 Debugger: SNES - Added new "break on..." options
Invalid vram/oam/cgram access, controller read while auto-read is running
2025-03-27 21:30:38 +09:00
Sour
ad548465c6 Debugger: NES - Added new "break on..." options
Invalid VRAM access, Invalid OAM write, DMA controller read, Unstable opcodes
2025-03-27 21:16:02 +09:00
Sour
9e5d013c84 Debugger: Minor performance improvements for debugger initialization 2025-03-26 21:25:34 +09:00
Sour
f7ca5d06fb Debugger: Prevent rewind/step back from changing the value of frozen addresses 2025-02-11 20:48:52 +09:00
Sour
8d6830a70a SNES: Add support for ST018 coprocessor
Used by a single game: Hayazashi Nidan Morita Shougi 2
2024-12-29 23:41:52 +09:00
Sour
614e61a2d1 Debugger: Fixed issues with step over/out in some scenarios (bank swapping, recursive functions, etc.)
Only break when both the stack pointer and the return address match what the debugger was expecting, instead of just the return address
2024-12-07 17:46:28 +09:00
Sour
403fe083ed Debugger: Allow screensaver/sleep to turn on when paused while debug tools are opened 2024-11-30 13:49:23 +09:00
Sour
f710ad8529 Debugger: Clear event viewer data when game is reset to avoid issues/crashes
Reset caused a crash on NES when ntsc borders were displayed because the current frame's data contained events from the pre-reset state
2024-10-31 21:13:07 +09:00
Sour
ecd012c2fe Debugger: Fixed issue that caused forbid breakpoints to prevent "run 1 frame/scanline/etc" from working properly in some scenarios 2024-10-30 22:02:40 +09:00
Sour
ef302de461 Debugger: Fixed forbid breakpoints not working properly with "break on" options 2024-10-15 09:29:42 +09:00
Sour
dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
ff874bc86d Debugger: NES Header Editor - Fixed behavior/crash when opening header editor with softpatched roms or compressed files 2024-07-19 21:37:51 +09:00
Sour
640a215cbb GB: Added support for MBC5 rumble feature 2024-07-13 20:50:57 +09:00
Sour
13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour
aa9c459630 Debugger: Step Back - Allow stepping back 1 scanline/frame at a time + remove restriction that caused step back to only work for up to 30 frames 2024-01-26 23:39:31 +09:00
Sour
dcd9c2249e Debugger: PCE - Highlight arcade card accesses in memory viewer 2023-12-27 23:27:07 +09:00
Sour
5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour
9be40aa4a1 Debugger: Prevent breaking on some events while rewinding 2023-09-05 18:36:48 +09:00
Sour
84e5e83213 Fixed warning 2023-04-14 21:15:15 -04:00
Sour
7090fcdb71 Debugger: Warn when "save rom as" fails 2023-04-11 22:33:02 -04:00
Sour
3a77015a7c Debugger: PCE - Fixed read/write highlights and breakpoints for ADPCM memory 2023-04-02 15:39:12 -04:00
Sour
39a7b8b254 Debugger: NES - Added option to break when EXT mode is enabled
Turning this on can potentially damage the PPU and should be avoided
2023-02-18 15:59:14 -05:00
Sour
6c94016e82 Debugger: Allow pausing the SPC core after STOP/SLEEP call 2023-01-29 23:04:14 -05:00
Sour
f24870c6c6 Linux: Fixed build error 2023-01-29 19:32:54 -05:00
Sour
7ca3ae781e Debugger: SPC - Invalidate instruction cache on writes even when option to ignore read/writes is turned on 2023-01-29 18:59:46 -05:00
Sour
174e31cd5a Debugger: Fixed pause/break freezes/issues when CPU is halted 2023-01-27 16:14:58 -05:00
Sour
d449f0c641 Debugger: Added cpuType parameter for Lua events 2023-01-24 22:14:24 -05:00
Sour
1cfaaaae98 Debugger: Fixed NEC DSP TODOs 2023-01-24 19:45:08 -05:00
Sour
e6b4d23f70 Rename TODOs that need to be fixed/checked before release to TODOv2 2023-01-05 14:07:08 +09:00
Sour
9751895751 Debugger: Allow saving/loading save states without forcing the emulator to run until the next vertical blank 2022-12-27 16:29:16 +09:00
Sour
7fe0fd9da4 Debugger: NES - Stop on scanline 241 when using run single frame with the debugger opened (to match old mesen behavior) 2022-12-22 09:40:20 +09:00
Sour
d09d39207d Debugger: Fixed UI freezing while rewinding if the UI triggered any action that used DebugBreakHelper 2022-10-21 21:09:52 -04:00
Sour
8f95c3a9f5 Debugger: Fixed rare crashes when loading a rom for a different console 2022-10-21 00:46:19 -04:00
Sour
faed921857 Debugger: Don't bring debugger to front on power cycle unless "bring to front on pause" is enabled 2022-10-16 13:56:51 -04:00
Sour
3fe77d271a Debugger: Added "memaddress" token in expressions 2022-09-28 18:20:45 -04:00
Sour
1df7d9aeac Debugger: Added freeze address option in memory viewer 2022-09-25 19:56:02 -04:00
Sour
2a93014984 Minor tweaks to debugger code for performance, set NOPATH option for PGO to avoid 10+ min link time (VS bug?) 2022-09-25 15:47:10 -04:00
Sour
05551df14a Debugger: Fixed lock up when trying to pause a GB rom that was halted forever 2022-09-20 22:11:27 -04:00
Sour
c3dd78b5ab Debugger: Implemented step back for all main CPUs 2022-09-11 14:50:40 -04:00
Sour
7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour
152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour
9113101ea2 Debugger: Fixed crash when opening debugger for SA-1 games (Linux) 2022-08-30 17:45:07 -04:00
Sour
0de17a6df1 Debugger: MemoryType::Register refactoring 2022-08-29 20:29:12 -04:00
Sour
7b394aa686 Debugger: Added "bring to front on pause" option 2022-08-26 18:20:34 -04:00
Sour
9b73fadab9 Debugger: PCE - Added option to break on invalid vram access 2022-08-21 16:55:08 -04:00
Sour
af6d4f0da2 Debugger: Refactoring for specific break options (+ added nes break on 2000 scroll glitch option) 2022-08-21 16:11:22 -04:00
Sour
46bb3d4733 Debugger: Lua - createSavestate/loadSavestate 2022-08-04 18:31:39 -04:00
Sour
2eda2cc27e Debugger: Lua - Allow callback to change read/written value, allow callbacks on any memory type (not just cpu memory), allow callbacks for ppu memory 2022-08-02 01:42:14 -04:00