29 Commits
Author SHA1 Message Date
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 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
Sour f5a957abf0 GBC: Fixed HDMA behavior when CPU is halted and then resumes
Fixes regression caused by the fix done for the hblank_vram_dma test rom.
HDMA should run immediately after the CPU resumes - fixes the menu in Nascar 2000
2025-07-02 21:49:20 +09:00
Sour be66075519 GB: Fixed freeze during Batman - The Video Game's title screen animation 2025-01-20 12:59:27 +09:00
Sour 0056e59149 Debugger: GB - Fixed screen sometimes turning black when STOP instruction was shown in the disassembly 2024-07-07 20:57:11 +09:00
Sour 5484e411bb GB: Fixed freeze after intro in Conker's Pocket Tales (in GBC mode)
Also fixes the "Color Panel Demo"
2024-05-12 22:09:56 +09:00
Sour 25142a9451 GB: Improved STOP behavior for GB/GBC
Fixes the stop_instr and stop_instr_gbc_mode3 tests
2024-01-31 17:50:15 +09:00
Sour f466a69083 GB: Minor refactoring 2024-01-23 23:44:48 +09:00
Sour 1c1a0a9985 Debugger: GB - Fixed issues with step back caused by running the LCD/etc. before calling ProcessInstruction 2024-01-23 22:26:01 +09:00
Sour bc3b265e3e GB: Improve BGP mid-scanline writes behavior + tweak halt timing for CGB
ppu_scanline_bgp and m3_bgp_change tests display the correct result
2024-01-23 22:26:01 +09:00
Sour 7af69362e8 GB: Tweak halt IRQ detection timing, change ppu vs cpu order of operation 2024-01-23 22:26:01 +09:00
Sour 4cb89a29dd GB: Fixed stack overflow crash when 2 halt instructions are executed in a row with halt bug 2023-07-09 22:41:11 +09:00
Sour f5c9a725b2 Debugger: GB - Fixed crash when processing halt op code in some scenarios 2023-07-06 16:57:30 +09:00
Sour e9212bc264 GB: Skip/ignore byte after STOP opcode
Fixes Konami GB Collection Vol.4 in CGB mode which has a non-zero byte after the STOP op when switching to high speed mode
2023-04-12 23:09:16 -04:00
Sour 0038e83dd6 Debugger: GB - Fixed incorrect memory values in the disassembly Occurred when the GB CPU's state was copied while the CPU was halted or had a pending IRQ 2023-04-08 23:17:18 -04:00
Sour 5ff7d29ffe GB: Added CGB speed change delay
Matches speed_switch_timing_stat (but not speed_switch_timing_ly) - probably not quite accurate but better than no delay at all
2023-03-10 20:32:09 -05:00
Sour b147bc67d3 GB: Implemented OAM corruption bug 2023-02-26 23:47:27 -05:00
Sour fc171c50e1 Debugger: GB - Fixed CPU crashes caused by dummy cpu 2023-01-28 20:44:38 -05: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 135cab16d2 Debugger: Trace logger - Fixed missing cpu cycle counter for GB 2022-09-19 18:15:12 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour b456170551 Save states: Serializer rework/rewrite 2022-07-20 00:40:32 -04:00
Sour a79a13eca2 Cheats: Added UI and implemented cheats in core 2022-03-30 12:28:53 -04:00
Sour 50cdababc0 Debugger: Implemented predictive breakpoints for GB 2022-02-20 22:25:35 -05:00
Sour 6d60d706ba Debugger: GB debugger refactoring 2022-02-20 21:01:48 -05:00
Sour e27e511558 File reorganization 2021-04-09 21:45:04 -04:00
Sour 27aec67ff7 CPU state rework 2021-04-07 23:29:12 -04:00
Sour 86eb84cce0 Step 2 - fix includes, etc. 2021-04-03 23:16:13 -04:00
Sour 6cee666602 Step 1 - Move files 2021-04-03 21:09:05 -04:00