37 Commits
Author SHA1 Message Date
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 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 acbe931ba0 Debugger: SNES - Added break on options for SPC
Break on BRK, STOP/SLEEP
2025-03-27 23:46:36 +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 3873078053 Debugger: SNES - Fixed crash when resetting console with debugger active 2024-11-07 18:46:20 +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
Quinton Miller a4d3d30755 Debugger: Lua - Fixed memory callbacks for SPC 2023-06-19 20:36:15 +09:00
KungFuFurby 8a08187d6c Debugger: SPC - Add TCALL and PCALL opcodes to list of subroutine opcodes in SPC debugger (#20) 2023-05-12 21:26:20 -04: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 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 49d3aebba1 Disable breakpoints/debugger while rewinding 2022-10-15 13:12:33 -04:00
Sour 3fe77d271a Debugger: Added "memaddress" token in expressions 2022-09-28 18:20:45 -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 efdbd7b82d Debugger: Profiler - Make GB tab use GB clock rather than SNES master clock 2022-07-27 23:52:54 -04:00
Sour b36edfb024 Debugger: CX4 call stack/profiler support 2022-07-04 17:14:05 -04:00
Sour 008ed9077d Debugger: Refactor debug config 2022-07-01 12:34:00 -04:00
Sour 78ca62ed75 Debugger: Support for CDL in CHR ROM games (NES), option to hide used/unused tiles from tile viewer (when CDL data is available) 2022-06-12 00:26:03 -04:00
Sour b9d367e91a Debugger: Implement/refactor is jump/is return/etc logic for all CPUs 2022-03-24 21:39:00 -04:00
Sour 56b05cced6 Debugger: Implemented "move program counter" for most CPUs 2022-02-24 23:00:08 -05:00
Sour 92734d6015 Debugger: Exp. eval refactoring to allow getting more data than just the CPU's state 2022-02-21 21:27:14 -05:00
Sour ba0b5a89a5 Debugger: Code refactoring, fixes for marked breakpoints 2022-02-20 11:11:44 -05:00
Sour fb666944cb Debugger: Don't step 1 instruction when opening debugger if the game is already paused
+ Build SPC cache even when debugger is not opened
2022-02-19 15:22:59 -05:00
Sour a7f96274e0 Debugger: Update SPC debugger to break between instructions, allow predictive breakpoints, etc. 2022-02-19 13:08:31 -05:00
Sour 85482d34f1 Debugger: SNES - Added coprocessor debuggers 2022-01-30 20:20:24 -05:00
Sour dffbd4921a Refactoring: Renamed SnesMemoryType 2022-01-22 12:16:10 -05:00
Sour 0b228f5951 Refactoring: Added Snes prefix to files/classes 2022-01-22 11:55:17 -05:00
Sour 0d78c064f3 Core: Reduce shared_ptr usage, refactor netplay code to remove static instances 2022-01-21 21:25:33 -05:00
Sour 7cbe3139f9 Debugger: Fixed PPU breakpoint issues 2022-01-08 20:38:19 -05:00
Sour adfafc94ea Event Viewer: Refactored code, fixed issues with list view 2021-12-29 15:04:12 -05:00
Sour c074981bb6 Event Viewer: Added event tooltip 2021-12-27 12:39:14 -05:00
Sour 078546329f Trace logger (missing file logging) 2021-06-16 23:14:21 -04:00
Sour 463be33c31 Debugger - NES CPU status, toolbar, break/step/resume 2021-05-26 19:21:49 -04:00
Sour 12bf5c5e1b NES/GB/SNES config, audio filters 2021-04-11 18:50:31 -04:00
Sour e27e511558 File reorganization 2021-04-09 21:45:04 -04:00
Sour 2a3a955dc3 Reorganize files (debugger + netplay) 2021-04-09 20:01:50 -04:00
Sour a435b0d29a Reorganize code (SNES) 2021-04-09 18:47:33 -04:00