Commit graph

3224 commits

Author SHA1 Message Date
Sour
1e3422b69e Debugger: Profiler - Show [irq]/[nmi] markers on functions 2024-12-17 18:51:01 +09:00
Sour
d1aa957a80 SNES: Allow gamepad auto-read to be disabled while it's running
Matches new hardware tests: clear-autojoy-1st-vb-sl / clear-autojoy-during-autojoy
2024-12-17 17:21:41 +09:00
Sour
84995227fc Debugger: PCE - Added DDA output value to register viewer, fixed incorrect addresses 2024-12-16 21:54:02 +09:00
Sour
f7c1bebdbc PCE: Fixed PSG channels in DDA mode not immediately updating output when a new output value was written 2024-12-16 20:41:20 +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
e2ea8438f2 Debugger: Added edit 8x8 tile option in tilemap/tile viewers 2024-12-14 22:38:12 +09:00
Sour
6b77200364 SNES: Improved gamepad auto-read emulation based on research/test rom 2024-12-14 14:39:42 +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
ed1b5c51ca Debugger: Keep focus on main window when opening script windows alongside a rom via the command line 2024-12-13 23:13:37 +09:00
Sour
ff1580def4 SNES: Fixed input issues with Pocky & Rocky
Caused by the game enabling controller auto-read in the middle of the auto-read "portion" of the frame
2024-12-13 19:36:48 +09:00
Sour
84919bccdc Rewind: Fixed partial desync of input data when rewind stops
This could potentially cause desyncs on subsequent rewinds, but most obviously it caused rewinding during movie playback to break movie playback entirely (because some inputs were handled by the rewind, while others were handled by the movie, causing the _deviceIndex value to be out of sync with its expected value)
2024-12-13 19:00:32 +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
b30bb12000 WS: EEPROM - Fixed "read done" flag never being reset 2024-12-12 21:04:26 +09:00
Sour
460ea81ca3 Debugger: WS - Fixed "freeze" memory not working 2024-12-12 20:57:55 +09:00
Sour
604f1a6fc9 PCE: Fixed SuperGrafx layering problem
When VDC1 had both BG and sprites disabled, it blocked the VDC2's background (resulting in a black screen). VDC1's output should count as transparent in this scenario
2024-12-11 18:32:55 +09:00
Sour
75b667d2cc NES: Fixed behavior for SHX, SHY, SHA, TAS 2024-12-11 18:27:06 +09:00
Sour
d32763e7f8 NES: Fixed regression in "remove sprite limit" feature that caused some sprites to be missing
Caused by recent accuracy improvements to sprite evaluation
2024-12-10 19:11:02 +09:00
Sour
8ad34343ba Debugger: Prevent UI freeze when viewer updates pile up and end up taking up 100% of the UI thread's time
Prevent queueing another update while the previous update is still running, which should prevent most issues.
Also slightly improves performance for the SNES tilemap viewer (which was causing the freeze when displaying an 8bpp 1024x1024 tilemap)
2024-12-10 18:59:13 +09:00
Sour
8d49d0ea54 Debugger: Label list - Toggle breakpoint on ram labels should create RWX breakpoints 2024-12-08 17:22:51 +09:00
Sour
d94646590d Debugger: Source View - Fix selected file/scroll position being incorrect after manually loading a symbol file when the source view tab was already visible 2024-12-08 16:48:01 +09:00
Sour
3e822297e9 FDS: Fixed out-of-bounds write that could cause crashes 2024-12-08 11:04:22 +09:00
Sour
47c123124b Debugger: Source View - Improve active line highlight logic for C files
Highlight the C line of code if any of the CPU instructions contained inside of it is the current CPU instruction
2024-12-07 21:15:57 +09:00
Sour
962a1445c7 Debugger: Source View - Auto-switch to disassembly when no source mapping is found for the current statement
Auto-switch back to source view once a mapping is found again
2024-12-07 21:11:38 +09:00
Sour
e52fa70944 Debugger: Source View - Improve active row behavior when multiple mirrors exist
+ Automatically move to current address when clicking on the source view tab (so that the active row is shown after manually loading a symbol file, etc.)
2024-12-07 20:00:24 +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
9ccea2f43c Readme: Fixed broken macOS build links 2024-12-06 21:25:44 +09:00
Sour
beffca7fcd Builds: Upgrade to macOS 13 for x64 builds
macos-12 is no longer supported by GitHub
2024-12-06 20:42:20 +09:00
Sour
d690e97e41 PCE: Fixed issues loading CD-ROM games that are split into multiple files and have pregaps defined for one or more tracks
The pregaps were not calculated properly when starting each subsequent file, causing the start position of subsequent files to be offset by an amount equal to the cumulative pregaps of all the previous tracks
2024-12-06 19:41:10 +09:00
Sour
94d88ecbe2 Linux: Slow down audio playback when emulation speed is set to less than 100% 2024-12-03 21:30:31 +09:00
Sour
fb9fba041a Debugger: PCE - Added missing PCEAS import mappings for CD-ROM RAM symbols 2024-12-03 16:23: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
32fbc70fe8 GBA: Fixed incorrect GB noise channel condition that caused it to not run at all in some scenarios 2024-12-03 16:02:21 +09:00
Sour
4081adca21 GBA: Fixed missing scanline in textbox in Spyro Season of Ice
Tweaked the BG layer enable delay/timings to make it work for both mGBA suite's test and Spyro
2024-12-02 20:17:43 +09:00
Sour
355ca16074 Debugger: Lua - Added getCdlData API 2024-12-01 15:27:46 +09:00
Sour
04062de085 Debugger: Lua - Fixed typo in documentation 2024-12-01 14:52:49 +09:00
Sour
be41cdeaeb Debugger: Update CDL stats while running when "refresh while running" is enabled
+ Optimize CDL stats calculation
2024-12-01 14:51:56 +09:00
Sour
e115308400 GBA: Fixed save memory type for Super Monkey Ball Jr.
Game uses EEPROM but contains markers for EEPROM, Flash and Save RAM, which breaks the auto-detect feature
2024-12-01 13:40:27 +09:00
Sour
e77ba250e8 Debugger: Sprite viewer - Fixed crash when switching from a GBA game to a SNES game with "Show offscreen regions" unchecked
MinWidth was getting set to a negative value, because LeftClipSize and RightClipSize temporarily were set to a value exceeding Source.Size.Width, which caused a crash
2024-12-01 13:33:43 +09:00
Sour
cda1e831ae GBA: Fixed missing sprites at top of screen when enabling sprite layer during vblank 2024-12-01 13:29:28 +09:00
Sour
403fe083ed Debugger: Allow screensaver/sleep to turn on when paused while debug tools are opened 2024-11-30 13:49:23 +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
fee6f3922b UI: Game selection screen - Fixed unintended unclickable margin on both sides of the arrow buttons 2024-11-28 16:57:07 +09:00
Sour
e7b85cad36 Debugger: Fixed breakpoint highlight issues for data rows that start with .db 2024-11-28 16:40:53 +09:00
Sour
21a279e1fe Debugger: Event Viewer - Fixed incorrect breakpoint information for marked breakpoints for multi-cpu consoles/games 2024-11-28 16:40:07 +09:00
Sour
cb412ccc02 Debugger: PCE - Updated PCEAS symbol import to match latest changes to file format 2024-11-26 18:39:44 +09:00
Sour
03fad75c5f Fixed .NET 6 compilation error 2024-11-24 18:10:16 +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
3903845768 SMS: Fixed broken sprites on the left side of the screen when first 8-pixel column is hidden 2024-11-24 12:05:34 +09:00
Sour
c956eea0ba UI: Fixed unexpected screen cropping when window width is reduced
The screen's height should be reduced to fit the window, instead.  Caused by changes done recently to fix some rounding errors with screen/window sizing
2024-11-24 11:34:27 +09:00
Sour
1548ce20cb GG: When using auto aspect ratio, GG should use a 6:5 pixel aspect ratio 2024-11-24 11:04:23 +09:00