35 Commits
Author SHA1 Message Date
SourMesen a33b8b2712 Debugger: GSU - Added profiler support (#261)
This is implemented by pretending every 16 bytes in ROM is a different function, allowing the profiler to display cycle counts for each individual "function" in the UI
Also fixes a missing call to ResetFlags for the merge opcode for FX3
2026-08-27 19:00:55 +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 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 09cd8b7cec Debugger: GSU - Fixed trace log not logging the correct instructions in some scenarios 2025-02-15 20:09:02 +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 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
Sour 4580c667a8 Debugger: Lua - Fixed memory callbacks for GB and snes coprocessors 2023-06-19 21:06: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 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 1583ba963e Debugger: Improved disassembly for GSU, allow moving program counter 2022-07-04 19:34:35 -04:00
Sour 5414afdbb4 Debugger: Added "Show jump labels" option 2022-06-26 14:44:59 -04:00
Sour 483a642a98 Debugger: Added function list 2022-06-13 22:13:08 -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 fcd7e64582 Debugger: Fixed CDL behavior for SGB, refactor some of the CDL code 2022-06-11 15:19:24 -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 571bdef0fe Debugger: GSU debugger refactoring/fixes 2022-02-20 17:01:42 -05:00
Sour ba0b5a89a5 Debugger: Code refactoring, fixes for marked breakpoints 2022-02-20 11:11:44 -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