76 Commits
Author SHA1 Message Date
SourMesen 05d74e7e40 Debugger: GBA - Show byte code as a single 16/32-bit value (#242)
Misc fixes:
-Fixed issues with the opcode tooltip not appearing for some GBA instructions (esp. when the condition code ends with an 's', e.g: rsbcs, movls, subcs)
-Fixed byte code not being lower case when the "use lower case" option is enabled
2026-08-01 12:09:15 +09:00
SourMesen 40335ce735 UI: Update to Avalonia 12, .NET 10 and replace ReactiveUI with MVVM community toolkit (#142)
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
2026-07-03 16:04:42 +09:00
SourMesen e9f48e23e8 Netplay: Fixed game crashing when connecting to server (#113)
The server would send a save state taken inside the PpuFrameDone event when a config change was detected, which is not safe. PpuFrameDone runs in the middle of CPU instructions, which could easily cause game crashes or desyncs.
2026-05-14 15:54:57 -07:00
NovaSquirrel 8e7e4c2ff9 SNES: Add SPC dumper tool (#89)
* SNES: Add SPC dumper tool

* SNES: SPC dumper fixes
2026-05-08 17:31:34 -07: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 9616f36f89 Debugger: Console-specific scanline/cycle refresh values (#65)
* Debugger: Console-specific scanline/cycle refresh values

* Fixed some issues with min/max values when switching console types
2026-04-26 17:06:01 -07:00
Sour fb2a9c7f6f Debugger: Lua - Added notes/links about color format in documentation
+ Added missing values to memType and split memType tooltip into 2 columns
2025-04-13 20:53:19 +09:00
Sour 537f042d86 Debugger: Viewers - Fixed context menu keybindings not working
Caused by the fix for scrollbars getting reset to 0, 0
2025-04-09 18:51:34 +09:00
Sour c4472f3a4d Debugger: Make shift+home/end select rows in disassembly/source view and trace logger 2025-03-23 15:36:51 +09:00
Sour 16d6d70376 Debugger: Fixed bug that copied watch entries from rom to rom
While the debugger was active and the current rom had watch entries, opening a new rom for the same console that had never been opened in the debugger would end up copying the watch entries from the previous rom into the new rom's workspace
2025-02-26 20:38:46 +09:00
Sour 18269da46b SNES: Add support for Sufami Turbo games 2025-01-03 09:18:59 +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 86cac326d7 Debugger: Tile editor - Improved behavior when editing tiles from a tilemap in games that bankswitch vram in the middle of the screen
-Also allows cropping the edit window when the size doesn't fit (e.g using 4x4 near the bottom of the screen can result in a 4x2 edit window, etc.)
-Fixed a display issue when the number of edited columns & rows didn't match
2024-12-14 23:19:02 +09:00
Sour 0ff6e6a1ea Debugger: Added basic support for SDCC symbol files (.cdb), including source mappings 2024-12-12 22:28:33 +09:00
Sour 3eabc4a4a6 Debugger: Show/hide source view tab as needed when manually loading a symbol file 2024-12-03 16:22:47 +09:00
Sour 355ca16074 Debugger: Lua - Added getCdlData API 2024-12-01 15:27:46 +09:00
Sour 9b4905a337 Debugger: Various source view fixes
-Fixed color issues with source files (particularly for C files with pceas/hucc)
-Improved tooltips to react to more symbols/labels in source files (asm or C)
-Fixed bug that caused opcode tooltips to appear in C source files
-For hucc, try to find symbols that start with an underscore as a fallback when the symbol is not found (C symbols are exported as their asm name, which has an underscore prefixed)
-Fix double-click on a label/symbol name in source view to navigate to that symbol/function/etc
2024-11-29 20:13:56 +09:00
Sour af01175569 Debugger: PCE - Split PCEAS symbol importer from wla-dx's importer code
Added support for length value for data labels, added support for [definitions] section for constants
2024-11-24 17:36:48 +09:00
Sour 2973c43046 Debugger: Source View - Fixed issues when loading another source view-enabled project
Breakpoints weren't being set properly because events were registered twice, etc.
2024-11-10 20:30:22 +09:00
Sour f60f39ebe6 Debugger: PCE - Tweaks for integration with HuCC 2024-11-10 20:29:27 +09:00
Sour 9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour f364dfd343 Debugger: NES - Fixed header editor keeping debugger active permanently after being opened 2024-10-01 21:50:52 +09:00
Sour dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour aaf3d65c0f Debugger: Added option to focus the game window when debugger resumes execution after a breakpoint/etc. 2024-09-21 15:38:05 +09:00
Sour c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Angelo e6c372e8b3 Debugger: Accumulate scroll values for code viewer & hex editor (#70) 2024-09-12 16:46:20 +09:00
Sour e24eecd1d2 Debugger: Fixed rare deadlock, which could happen when opening a new debug tool
This was mostly only possible/likely when using the software renderer
The RefreshSoftwareRenderer notification is sent by the render thread, which could trigger the newly-opened viewer's initialization.  This initialization would attempt to pause the emulation thread, but if the emulation thread triggered a notification at the same time, it would get stuck on the _windowNotifLock lock in DebugWindowManager, which caused a deadlock.
2024-08-30 15:54:33 +09:00
Sour 9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour d6d0b87c22 Added ColecoVision support
Also adds mode 1 (text mode) and mode 3 (multicolor mode) support for the SMS/SG-1000
2024-07-27 14:52:31 +09:00
Sour 9ca0fe5922 Linux: Fixed scrolling with mouse wheel sometimes scrolling far more than intended 2024-07-06 19:08:03 +09:00
Sour f429697b7f Debugger: Added option to copy profiler data to clipboard 2024-06-24 10:41:24 +09:00
Sour 08a6046074 Debugger: Added up-to-date Lua reference page (generated based on the JSON doc) 2024-06-16 15:08:24 +09:00
Sour d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00
Sour eec493f902 Debugger: Fixed missing labels in effective addresses for some instructions 2024-04-27 10:39:47 +09:00
Sour 2e1392574b Debugger: GBA - Added support for ELF symbols 2024-03-31 20:10:38 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour aa49a658c6 Debugger: Allow symbol file names to contain the rom's extension when auto-loading 2024-01-27 20:07:13 +09:00
Sour 5ee8215c9a Debugger: Memory Viewer - Allow using ? as a wildcard for hex search 2024-01-27 15:14:24 +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 b83e5639e8 Debugger: Lua - Added DisplayState built-in script to easily display all values returned by emu.getState() 2024-01-21 22:16:36 +09:00
Sour e3076c666e Debugger: Added support for WLA-DX symbol files for SMS
+ Added support for WLA-DX's "nocash" symbol output format
2024-01-12 23:10:08 +09:00
Sour 4168583fb5 Debugger: Auto-save debug workspace periodically to prevent data loss if a crash occurs 2023-12-26 18:15:15 +09:00
Sour 52b3196abb Debugger: Update viewers when loading a save state 2023-12-25 22:21:41 +09:00
Sour f66ebfafd7 Debugger: Fixed actions on effective addresses in disassembly 2023-12-16 20:56:45 +09:00
Sour 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour 9e1bde6a0c Debugger: Fixed tooltip/context menu for multi-byte labels shown in brackets 2023-11-25 23:02:23 +09:00
Sour a1612f574d UI: Fix shortcut text not updating in menus after changing a shortcut in the options 2023-11-20 21:18:46 +09:00
Sour 0f411a2837 Debugger: PCE - Support for PCEAS .sym files 2023-11-17 18:52:19 +09:00
Sour b3bbf9b798 Debugger: PCE - Basic support for WLA-DX .sym files
The .sym file this is based off doesn't appear to be properly exporting RAM labels and source mappings also look like they're mostly broken, so some issues/limitations exist.
+ Fix/improve go to all search results when using WLA-DX sym files
2023-11-16 23:13:04 +09:00
Sour 7a4e86b2be Debugger: Lua - Fixed reverse mode script behavior 2023-05-29 16:20:53 +09:00