Turn the break reason into an enum, fix some minor issues

This commit is contained in:
Henrik Rydgård committed 2025-02-19 16:01:11 -06:00
1 parent bebbdc3900
commit 31cf5771f4
22 files changed
+116 -59

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ static AutoDisabledReplacements LockMemoryAndCPU(uint32_t addr, bool keepReplace
if (Core_IsStepping()) {
result.wasStepping = true;
} else {
Core_Break("memory.access", addr);
Core_Break(BreakReason::MemoryAccess, addr);
Core_WaitInactive();
}