122 Commits
Author SHA1 Message Date
SourMesen 918379b7a7 Debugger: Tilemap viewer - Added option to pick background color (#238)
Also, minor bug fixes for WS:
-Fixed tilemap viewer for sometimes using the wrong background color
-Fixed the 4-bit RGB color values in the palette viewer having the R and B values swapped
2026-07-28 19:55:12 +09:00
SourMesen 49c9a3a4ba GB: Added overclock and remove sprite limit options (#216) 2026-07-11 17:47:41 +09:00
SourMesen a7910b9766 Windows: Fixed build error after latest MSVC update (VS2026 May update) (#127)
Also fixed GB PPU problem caused by the compiler changing how it builds this particular bit of code (which has been a problem in the past for the same code in the GB debug tools)
2026-05-18 21:15:29 +09:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
SourMesen 4b8669d34b Debugger: Tilemap viewer - Fixed "edit tile" behavior on SNES when the tilemap is using 16x16 (or 16x8) tiles (#72)
Also, added support for horizontal/vertical mirroring when editing the mirrored tiles from the tilemap.
2026-04-27 09:18:53 -07:00
SourMesen 8e4dd329ac Debugger: Lua - Added new APIs: getCpuState, setCpuState, getMasterClock, getCpuCycleCount (#58)
getCpuState/setCpuState allow the same functionality as getState/setState, but limited to only the CPU's state, making them much faster (some performance optimizations to the serialization & Lua code were also done)
getMasterClock/getCpuCycleCount are very fast alternatives to getState when all the script needs is a cycle count.
2026-04-26 18:00:08 -07:00
Sour 7d7b8e81fe Debugger: GB - Fixed tilemap viewer issue in Windows builds
Unsure why the resulting code is wrong with MSVC, but this appears to make it work.
2025-07-10 21:57:48 +09:00
Sour de8a0819d6 Debugger: SNES - Fixed stack overflow crash when hitting a SPC breakpoint 2025-05-06 12:29:55 +09:00
Sour 36bd1611c6 Debugger: Catch up APU for all consoles when breaking, to allow register viewer/etc. to display up-to-date values 2025-04-03 22:41:27 +09:00
Sour b844642866 Debugger: GB - Fixed tilemap viewer displaying incorrect tiles when the tile index is above 127
Seems to only happen in release builds in MSVC (unsure if other compilers were affected)
+ Also added missing member in GbCpuState in the UI
2025-03-23 13:16:31 +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 d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour e79e655d3b Debugger: Event Viewer - Added missing address/value for some event types (marked breakpoints, etc.) 2024-09-12 17:11:56 +09:00
Sour 074034aa66 Debugger: Use cpu-specific cycle counts for profiler data
Fixed SNES co-processors (including the SPC) reporting their profiling data based on SNES master clocks, which wasn't accurate/reliable
2024-06-23 16:21:49 +09:00
Sour ff2708d72c Debugger: SGB - Hide step back button in SGB mode
Step back on the GB core while running inside the SNES core is not supported
2024-06-01 14:47:09 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour d16d92dd7f Debugger: Event Viewer - GB - Added more categories, improved layout 2024-01-28 22:27:41 +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 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour eb17aab85d Debugger: Sprite viewer - Added option to change background color 2023-09-26 18:58:50 +09:00
Sour 4cb89a29dd GB: Fixed stack overflow crash when 2 halt instructions are executed in a row with halt bug 2023-07-09 22:41:11 +09:00
Sour 4580c667a8 Debugger: Lua - Fixed memory callbacks for GB and snes coprocessors 2023-06-19 21:06:08 +09:00
Sour ff032b3230 GBC: Fixed issues with read/writing palette register
Fixes "CRAM readable" and "CRAM access blocking" tests
2023-05-12 23:36:21 -04:00
Sour 4119de9e9c Debugger: Event viewer - Added right-click menu options for viewer/list 2023-04-16 22:30:47 -04:00
Sour 44233413a1 Debugger: Prevent load state/reset counters from triggering uninit ram read break on all reads 2023-04-15 15:34:24 -04:00
Sour e9212bc264 GB: Skip/ignore byte after STOP opcode
Fixes Konami GB Collection Vol.4 in CGB mode which has a non-zero byte after the STOP op when switching to high speed mode
2023-04-12 23:09:16 -04:00
Sour 31e418b1f7 Debugger: Assembler - allow '+' in label names to fix issues with multi-byte labels
+ Fixed first pass issues with GB assembler for relative addresses
2023-04-11 23:14:41 -04:00
Sour 7090fcdb71 Debugger: Warn when "save rom as" fails 2023-04-11 22:33:02 -04:00
Sour 0038e83dd6 Debugger: GB - Fixed incorrect memory values in the disassembly Occurred when the GB CPU's state was copied while the CPU was halted or had a pending IRQ 2023-04-08 23:17:18 -04:00
Sour f6105bbd0e Debugger: Tilemap viewer - Added "attribute data" field 2023-02-01 00:51:17 -05:00
Sour fc171c50e1 Debugger: GB - Fixed CPU crashes caused by dummy cpu 2023-01-28 20:44:38 -05:00
Sour 174e31cd5a Debugger: Fixed pause/break freezes/issues when CPU is halted 2023-01-27 16:14:58 -05: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 5d92c8caba Debugger: Fixed inconsistencies in event viewer when stepping to the first cycle of a frame 2022-12-22 16:22:00 +09:00
Sour 49d3aebba1 Disable breakpoints/debugger while rewinding 2022-10-15 13:12:33 -04:00
Sour b2567fd88f Debugger: Event Viewer - Show PC at the start of the instruction instead of the current PC 2022-09-28 19:49:49 -04:00
Sour 3fe77d271a Debugger: Added "memaddress" token in expressions 2022-09-28 18:20:45 -04:00
Sour 24529ff335 Linux: Fixed compiler warnings 2022-09-25 19:58:56 -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 135cab16d2 Debugger: Trace logger - Fixed missing cpu cycle counter for GB 2022-09-19 18:15:12 -04:00
Sour cdeef8cec4 Debugger: Trace logger - Added missing options, etc 2022-09-18 20:54:57 -04:00
Sour 47b94cd49f Debugger: Added option to show/hide memory values (+ fixed missing memory values on NES, PCE, etc.) 2022-09-13 00:41:18 -04:00
Sour 94b5ce21d1 Debugger: Tilemap viewer - Added grayscale option for all consoles 2022-09-12 21:14:37 -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 7b394aa686 Debugger: Added "bring to front on pause" option 2022-08-26 18:20:34 -04:00
Sour d384118da4 Debugger: Fixed call stack issues when NMI/IRQ land on JSR/RTI/RTS/etc calls 2022-08-25 20:38:21 -04:00
Sour df8728e107 Debugger: Sprite Viewer - Option to show/hide offscreen regions from preview 2022-08-20 18:20:14 -04:00
Sour 14a266d518 Linux: Fixed build errors 2022-08-13 17:00:40 -04:00