Commit graph

77 commits

Author SHA1 Message Date
Sour
1975ab958c Debugger: Fixed crashes when switching between games from different consoles (in AOT build)
Caused by what looks like slight differences between how AOT treats an empty array (vs JIT builds) when it marshals the array (AOT sends a null pointer, JIT sends a pointer to an empty array)
This was causing issues in both builds (AOT crashed immediately because of the null pointer, JIT read from out-of-bounds memory)
2025-03-28 18:03:30 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
640a215cbb GB: Added support for MBC5 rumble feature 2024-07-13 20:50:57 +09:00
Sour
852f92fd31 Debugger: Lua - Keep the first non-zero value when emu.stop + prevent crash when called multiple times 2024-04-07 09:15:48 +09:00
Sour
13acb3fe42 Added GBA support 2024-03-30 11:42:31 +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
5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour
2761a5814e UI: Fixed broken screenshots in load/save state menus on NES when a hd pack is loaded 2023-04-22 20:44:25 -04:00
Sour
3a77015a7c Debugger: PCE - Fixed read/write highlights and breakpoints for ADPCM memory 2023-04-02 15:39:12 -04:00
Sour
4ea985f4b5 When a file has an unknown extension, check for known file signatures to pick a core 2023-03-12 16:39:48 -04:00
Sour
a5fa24a32e NES: Fixed loading NES roms (+ improved behavior/error message display when this happens) 2023-03-06 16:42:32 -05:00
Sour
236cca1cd9 Movies: Fixed freeze when attempting to load a movie while the debugger is opened
Fixed an identical freeze when switching tracks in a HES file while the debugger is opened
2023-02-08 22:34:00 -05:00
Sour
c696c493cb UI: Fixed screen size/aspect issues when using power off and then loading another game for the same console (except snes) 2023-01-30 20:40:54 -05:00
Sour
b4618eb47a GB: Allow loading GB/GBC/SGB save states on any of the 3 models 2023-01-30 19:50:05 -05:00
Sour
7ca3ae781e Debugger: SPC - Invalidate instruction cache on writes even when option to ignore read/writes is turned on 2023-01-29 18:59:46 -05:00
Sour
d449f0c641 Debugger: Added cpuType parameter for Lua events 2023-01-24 22:14:24 -05:00
Sour
b2997f1857 Rewind: Keep same instance of rewindmanager to reduce potential thread safety issues 2023-01-24 20:23:41 -05:00
Sour
fe90b4571d Fixed misc code TODOs 2023-01-24 18:05:50 -05:00
Sour
7fa572777c Cheats: Added cheat database 2023-01-05 12:28:30 +09:00
Sour
4a64beba2c Debugger: Fixed deadlock when loading a game while debug tools are opened
GameLoaded triggers SetCheats which locks while trying to pause the debugger before the emulation thread was started (and the emulation thread can't start because the GameLoaded event locks up)
2022-12-30 10:18:27 +09:00
Sour
9a05559eb9 Debugger: Added --testRunner support 2022-12-28 10:44:54 +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
294a7a3203 Debugger: Fixed deadlocks when loadrom called in 2 threads at once
Caused by _allowDebuggerRequest getting set back to true at the end of the first loadrom, allowing the UI thread to make debugger calls while the second loadrom executes, causing a deadlock when BeforeGameLoad is triggered
Fixed by making this a counter instead of a boolean flag
2022-10-20 22:27:17 -04:00
Sour
a9c269ef2d UI: Added "reload rom" shortcut, made power cycle preserve ROM content 2022-10-05 19:48:45 -04:00
Sour
1df7d9aeac Debugger: Added freeze address option in memory viewer 2022-09-25 19:56:02 -04:00
Sour
05551df14a Debugger: Fixed lock up when trying to pause a GB rom that was halted forever 2022-09-20 22:11:27 -04:00
Sour
152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour
0de17a6df1 Debugger: MemoryType::Register refactoring 2022-08-29 20:29:12 -04:00
Sour
4808bc4129 Core: Refactored Emulator class getters 2022-08-25 22:27:06 -04:00
Sour
ac16a14297 Fixed crash on power off when input controllers were displayed in the HUD + refactor GetControlManager to improve thread safety 2022-08-25 22:22:16 -04:00
Sour
36f1d6e3b1 Fixed crash on startup when "Show game timer" is enabled (+ refactoring to improve thread safety) 2022-08-17 21:43:15 -04:00
Sour
998bf9b52b Added History Viewer 2022-08-07 19:03:35 -04:00
Sour
7df142e420 Debugger: Tilemap viewer - Mode 7 overlay 2022-08-06 11:29:50 -04:00
Sour
240e045f99 Debugger: Lua - Added selectDrawSurface API (+ Linux compilation fixes) 2022-08-02 23:25:41 -04:00
Sour
2eda2cc27e Debugger: Lua - Allow callback to change read/written value, allow callbacks on any memory type (not just cpu memory), allow callbacks for ppu memory 2022-08-02 01:42:14 -04:00
Sour
84da5cdcd3 Debugger: Make GetTimingInfo return GB timing info when called in SGB mode if the caller is bound to the Gameboy cpu 2022-07-27 23:35:02 -04:00
Sour
aaf240c070 Movies: Save/load settings and cheats, fixed bugs/crashes, fixed todos 2022-07-26 23:36:38 -04:00
Sour
a0fd476d12 NES: Added support for bandai microphone & datach barcode reader 2022-07-25 18:56:44 -04:00
Sour
eda3db9620 UI: Implemented show lag counter option 2022-07-22 12:11:35 -04:00
Sour
77692f323d Fixed behavior when loading an invalid rom while a rom is loaded, fixed battery save behavior when switching between games, fix/cleanup some TODOs 2022-07-21 16:12:24 -04:00
Sour
4d9c4f76a9 Save states: Fixed crashes when loading invalid states, fixed load/save state menus not working properly, fixed crash when loading PCE states 2022-07-20 14:28:19 -04:00
Sour
63cbe9bd73 Debugger: Instruction progression (+ step 1 cpu cycle for snes/sa1/pce) 2022-07-08 00:09:01 -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
6910f2a071 Debugger: Hide oam/cgram from tile viewer type dropdown, etc. 2022-06-05 19:09:20 -04:00
Sour
1c055bb4af Save States: Load/save emulation settings for netplay/rewind states, fixes some TODOs, fixes some NES issues when loading a state taken in a different region 2022-03-31 14:36:15 -04:00
Sour
a31eb671ac Input: Support for barcode readers and tape recorders (NES) 2022-03-15 22:39:30 -04:00
Sour
a46288de99 Fixed crash when pressing key while no game is loaded 2022-03-13 20:09:41 -04:00
Sour
8c75f0fc32 Fixed behavior for reset/power cycle shortcuts + fixed deadlock when debugger is active 2022-02-27 22:20:04 -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
d5a28f1403 Debugger: (WIP) Evaluate breakpoints before an instruction starts executing (ProcessInstruction + calculate upcoming reads/writes) 2022-02-19 09:55:33 -05:00