95 Commits
Author SHA1 Message Date
SourMesen af2342818c Debugger: Profiler/Trace logger/Watch - Fixed empty window/missing options for all consoles/games with a single CPU (#266)
This was caused by the Avalonia 12.1 upgrade
2026-08-27 19:01:10 +09:00
SourMesen 9219fab3ed Debugger: Profiler - Keep track of cycles executed while the CPU is halted (#243)
Also adds a "cpu usage" meter in the debugger window which appears when software makes uses of halt/wai/etc.
2026-08-01 12:10:12 +09:00
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 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 dc2cda6c51 Debugger: Memory search usability improvements (#173)
-Removed the confusing/hard-to-use "previous refresh value" "compare to" option
-The "last value" column now shows the values that "previous search value" will compare against
-Added "update values" button to apply an empty filter that does not hide any addresses, but updates the "last value" that will be used for subsequent filters
2026-06-15 17:47:49 -07:00
SourMesen a13ae9a461 Code: Added naming style CI checks for C#/UI code (#132) 2026-05-22 20:43:13 +09:00
Adrian "asie" SiekierkaandSour 2f5ccd6983 UI: Update Avalonia to 11.3.14. (#105)
* UI: Update Avalonia to 11.3.14.

- AvaloniaEdit is updated to 11.4.1.
- Avalonia.ReactiveUI is held back at 11.3.8, as later updates require
  separate adaptation work.
- Dock is updated to 11.3.12.1.

* Revert Dock upgrade (currently causes a large number of binding warnings which make the debugger take 3-4 seconds to display the content of the dock control after the window is opened when VS is attached to the process)

---------

Co-authored-by: Sour <[email protected]>
2026-05-15 19:47:05 -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 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 6dcd959e76 Debugger: NES - Header editor - Support PRG/CHR sizes below 1 KB (#52)
+Fixed some incorrect/missing validations
+Disable save button when an error message is shown
+Fixed .nes load logic ignoring PRG/CHR sizes from NES 2.0 headers (was getting overriden by game DB)
2026-04-26 03:27:13 -07:00
Sour a59caeec90 Debugger: Event Viewer - Fixed missing labels for port reads/writes on WS/SMS 2025-07-01 22:37:51 +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 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 f64bd8af09 Debugger: Palette viewer - Fixed scrolling back to the top left when clicked while out of focus 2025-03-24 10:16:37 +09:00
Sour e12f40ae3b Fixed compilation warning 2025-03-19 22:29:07 +09:00
Sour d324582c6f Debugger: Script window - Added option to show line numbers 2025-03-18 21:48:09 +09:00
Sour 081ae70167 Debugger: NES header editor - Fixed blank VS PPU Type value when VS System Type was not the default value 2025-02-12 17:06:38 +09:00
Sour 4052eccbc8 Debugger: Allow opening scripts from the command line while the emulator is already running, but skip scripts that are already opened in the emulator 2025-01-20 17:03:23 +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 eed94fdbe7 UI: Fixed error message/broken layout when clearing the text/value in a NumericUpDown control 2024-12-26 16:09:21 +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 0352c7d675 Debugger: Always show modal popups in the taskbar
It's possible to click minimize on them, which isn't very user friendly (appears as a tiny title bar at the bottom left in Windows, not sure about Linux/macOS)
2024-12-13 23:35:47 +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 a91f8ecf73 Debugger: Source View - Added tab size option 2024-11-14 19:38:52 +09:00
Sour da6ff36c2a Debugger: Memory viewer - Fixed issues with search window caused by recent memory leak-related fixes 2024-11-12 18:43:51 +09:00
Sour 28b75c2510 UI: Fixed crashes that could occur when using undo after typing in a text box 2024-11-08 15:45:32 +09:00
Sour 9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour b771ce4a41 Debugger: Memory Viewer - Improve behavior when pasting multi-line text in search box 2024-10-17 19:29:13 +09:00
Sour d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour cc46f4386a Debugger: Auto-select all text in main textbox in various popup tools to make editing easier 2024-10-01 22:42:11 +09:00
Sour dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour 40b4c80ed3 Debugger: Memory viewer - Create multi-byte label when using the edit label option with multiple bytes selected 2024-09-22 13:15:48 +09:00
Sour ef80f108c1 UI: Allow changing theme without restarting 2024-09-22 12:25:25 +09:00
Sour a2f38b112d Debugger: Memory Viewer - Keep focus on editor when empty space on window is clicked 2024-09-22 10:22:46 +09:00
Sour c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +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 9f7f081bee Fixed compilation error 2024-08-26 21:21:35 +09:00
Sour 9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour 1a98b3cbcf Debugger: Added hint icon/tooltip in go to address window 2024-07-29 21:44:01 +09:00
Sour 4cad920e9e Debugger: Allow using labels, tokens and expressions in "go to address" window 2024-07-29 17:37:13 +09:00
Sour 9b34e7c6ca Debugger: Script window - Fixed tooltips being shown when mouse is below the last line of the script 2024-07-19 18:45:17 +09:00
Sour 14123a1884 Debugger: Sprite Viewer - Added option to dim offscreen sprites in the left-hand grid
+ Added "Visible" column to sprite list
+ Fixed some layout issues in > 100% dpi modes
2024-07-14 14:33:10 +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 508d23465a Debugger: Add separators in some tooltips to group related values 2024-06-15 22:47:58 +09:00
Sour d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +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 5ee8215c9a Debugger: Memory Viewer - Allow using ? as a wildcard for hex search 2024-01-27 15:14:24 +09:00
Sour 00df58bb34 Debugger: Event Viewer - Fixed labels not being shown for read/written registers 2024-01-21 22:16:36 +09:00