Hook up the new (bare-bones) ImGui debug window to GPU stepping, fix stepping.

This commit is contained in:
Henrik Rydgård committed 2024-12-05 00:51:59 +01:00
1 parent 11819e87cf
commit 474e7acf54
16 files changed
+89 -63

No files matched your search

+5
View File
@@ -322,6 +322,11 @@ void Core_ProcessStepping(MIPSDebugInterface *cpu) {
// Free-threaded (hm, possibly except tracing).
void Core_Break(const char *reason, u32 relatedAddress) {
if (coreState != CORE_RUNNING_CPU) {
ERROR_LOG(Log::CPU, "Core_Break ony works in the CORE_RUNNING_CPU state");
return;
}
// Stop the tracer
{
std::lock_guard<std::mutex> lock(g_stepMutex);