Use one CPU emulation thread for --force-interpreter (#1467)

This commit is contained in:
Crementif 2025-01-05 04:08:13 +01:00 committed by GitHub
parent 4b792aa4d2
commit 92021db230
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -575,7 +575,7 @@ void debugger_enterTW(PPCInterpreter_t* hCPU)
debuggerState.debugSession.stepInto = false;
debuggerState.debugSession.stepOver = false;
debuggerState.debugSession.run = false;
while (true)
while (debuggerState.debugSession.isTrapped)
{
std::this_thread::sleep_for(std::chrono::milliseconds(1));
// check for step commands