hunterk
f049089880
initial libretro-ization. Some things partial/nonexistent
...
fix linking, rename lib, prep for GB/C
get more consoles working. PCE still not there
fix PCE hucard loading; CD still broken
fix PCE CD loading and firmware. SGB still not quite there
get SGB working
add gitlab recipe for libretro buildbot
2026-08-29 10:21:13 -05: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
8e4dd329ac
Debugger: Lua - Added new APIs: getCpuState, setCpuState, getMasterClock, getCpuCycleCount ( #58 )
...
getCpuState/setCpuState allow the same functionality as getState/setState, but limited to only the CPU's state, making them much faster (some performance optimizations to the serialization & Lua code were also done)
getMasterClock/getCpuCycleCount are very fast alternatives to getState when all the script needs is a cycle count.
2026-04-26 18:00:08 -07:00
Sour
0ae5f26d0c
Debugger: GBA - Realign disassembly to multiples of 4 bytes when disassembling unknown blocks in ARM mode
2025-06-17 21:20:22 +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
ecd012c2fe
Debugger: Fixed issue that caused forbid breakpoints to prevent "run 1 frame/scanline/etc" from working properly in some scenarios
2024-10-30 22:02:40 +09:00
Sour
ef302de461
Debugger: Fixed forbid breakpoints not working properly with "break on" options
2024-10-15 09:29:42 +09:00
Sour
dee97bf9bc
Debugger: Added forbid breakpoints
2024-09-23 21:05:55 +09:00
Sour
ff874bc86d
Debugger: NES Header Editor - Fixed behavior/crash when opening header editor with softpatched roms or compressed files
2024-07-19 21:37:51 +09:00
Sour
13acb3fe42
Added GBA support
2024-03-30 11:42:31 +09:00
Sour
dcd9c2249e
Debugger: PCE - Highlight arcade card accesses in memory viewer
2023-12-27 23:27:07 +09:00
Sour
7090fcdb71
Debugger: Warn when "save rom as" fails
2023-04-11 22:33:02 -04:00
Sour
3a77015a7c
Debugger: PCE - Fixed read/write highlights and breakpoints for ADPCM memory
2023-04-02 15:39:12 -04: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
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
d09d39207d
Debugger: Fixed UI freezing while rewinding if the UI triggered any action that used DebugBreakHelper
2022-10-21 21:09:52 -04:00
Sour
1df7d9aeac
Debugger: Added freeze address option in memory viewer
2022-09-25 19:56:02 -04:00
Sour
2a93014984
Minor tweaks to debugger code for performance, set NOPATH option for PGO to avoid 10+ min link time (VS bug?)
2022-09-25 15:47:10 -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
7b394aa686
Debugger: Added "bring to front on pause" option
2022-08-26 18:20:34 -04:00
Sour
9b73fadab9
Debugger: PCE - Added option to break on invalid vram access
2022-08-21 16:55:08 -04:00
Sour
af6d4f0da2
Debugger: Refactoring for specific break options (+ added nes break on 2000 scroll glitch option)
2022-08-21 16:11:22 -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
948aec1d3a
Linux: Fixed compilation warnings and crash when closing emulator (EmuApi.Release was called too early and other threads/timer could call IsPaused after it was called)
2022-07-13 19:53:48 -04:00
Sour
61fbae131c
Debugger: Added controllers tool
2022-07-09 19:39:35 -04:00
Sour
63cbe9bd73
Debugger: Instruction progression (+ step 1 cpu cycle for snes/sa1/pce)
2022-07-08 00:09:01 -04:00
Sour
9b6ab930f1
Debugger: Added "Find all occurrences"
2022-06-24 22:20:12 -04:00
Sour
483a642a98
Debugger: Added function list
2022-06-13 22:13:08 -04:00
Sour
deb6668da9
Debugger: Merged NES CDL files into a single file, show code/data percentages in status bar, fixed some with reset/load/save cdl
2022-06-12 16:22:20 -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
b9d367e91a
Debugger: Implement/refactor is jump/is return/etc logic for all CPUs
2022-03-24 21:39:00 -04:00
Sour
1117bfe4c3
Debugger: Added watch list + conditions help tooltip
2022-03-22 20:40:39 -04:00
Sour
2ac8cd8438
Debugger: Trace logger - Added clear log button
2022-02-26 21:47:45 -05:00
Sour
56b05cced6
Debugger: Implemented "move program counter" for most CPUs
2022-02-24 23:00:08 -05:00
Sour
e075347ec3
Debugger: Fixed debugger not always pausing correctly when opened
2022-02-20 12:04:17 -05:00
Sour
ba0b5a89a5
Debugger: Code refactoring, fixes for marked breakpoints
2022-02-20 11:11:44 -05:00
Sour
4f6ce1f611
Debugger: Performance improvements
2022-02-19 11:12:02 -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
Sour
ec84fad585
Debugger: Run to NMI/IRQ actions
2022-02-16 18:20:27 -05:00
Sour
85482d34f1
Debugger: SNES - Added coprocessor debuggers
2022-01-30 20:20:24 -05:00
Sour
dffbd4921a
Refactoring: Renamed SnesMemoryType
2022-01-22 12:16:10 -05:00
Sour
0b228f5951
Refactoring: Added Snes prefix to files/classes
2022-01-22 11:55:17 -05:00
Sour
8f3f14d323
Fixed more issues with debugger when reloading games, etc.
2022-01-21 21:25:59 -05:00
Sour
0d78c064f3
Core: Reduce shared_ptr usage, refactor netplay code to remove static instances
2022-01-21 21:25:33 -05:00
Sour
6146019f6d
Debugger: Allow changing NES state (wip)
2022-01-15 12:13:24 -05:00
Sour
adfafc94ea
Event Viewer: Refactored code, fixed issues with list view
2021-12-29 15:04:12 -05:00
Sour
3d7c826be3
API to get console state + some refactoring
2021-06-30 16:49:52 -04:00
Sour
811696f06f
Tile viewer refactoring/improvements
2021-06-21 14:56:41 -04:00