Commit graph

3354 commits

Author SHA1 Message Date
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
Sour
c13f52dcb8 Debugger: PCE - Updated symbol file support for PCEAS
+ Improve logic to find/load source files
2024-11-23 17:31:48 +09:00
Sour
cebdab9b5d UI: Fixed keyboard focus being on menu when opening emulator via file associations 2024-11-20 20:01:45 +09:00
Sour
919e14faf6 UI: Fixed fade in/out effect on HUD messages 2024-11-20 20:00:35 +09:00
Sour
bde9ad3879 NES: Rainbow mapper - Fixed save ram not being saved to disk 2024-11-19 16:54:04 +09:00
Sour
4ae738f028 SNES: Fixed emulator crash caused by large DMA transfer (across multiple frames) 2024-11-17 19:34:14 +09:00
Sour
9161a9e2c1 NES: Removed incorrect mapper 220 mapping
Nothing uses mapper 220 - it's a mapper number that was used in FCEUX as a way to debug/test implementations
2024-11-17 19:14:51 +09:00
Sour
a91f8ecf73 Debugger: Source View - Added tab size option 2024-11-14 19:38:52 +09:00
Sour
2e6a2e5494 Debugger: WS - Fixed effective address calculation for LES/LDS
Show first word's address instead of the second's
2024-11-13 21:27:48 +09:00
Sour
54b8973c61 Debugger: WS - Fixed code highlighting issue caused by previous commit 2024-11-13 21:25:30 +09:00
Sour
aa32d7e4a0 Debugger: PCE - Generate CDL data based on PCEAS symbol file
+ use IgnoreColumns comment
+ make code highlighting accept label definitions with dots in them, etc.
2024-11-13 20:40:59 +09:00
Sour
534d7eee1e UI: Fixed crash in AOT builds caused by recent Dock package upgrade 2024-11-13 16:38:33 +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
7b84a75fac UI: Fixed window size rounding issues when setting video scale 2024-11-11 14:28:54 +09:00
Sour
e18db92692 UI: Update to Avalonia 11.2.0 2024-11-11 09:28:22 +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
63f8081106 Debugger: Trace Logger - Revert change that caused hex values in log to not have the right size 2024-11-08 18:13:04 +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
25825df619 Debugger: Fixed source view not updating correctly in some scenarios when debugger hits a breakpoint
Specifically, this happened if the breakpoint was already visible on screen and was associated to an address that wasn't mapped when the source view was last updated
2024-11-07 19:04:49 +09:00
Sour
3873078053 Debugger: SNES - Fixed crash when resetting console with debugger active 2024-11-07 18:46:20 +09:00