Simplifications

This commit is contained in:
Henrik Rydgård committed 2025-04-05 09:18:56 +02:00
1 parent 29ad21effb
commit b24ce4bd14
4 files changed
+19 -63

No files matched your search

+4 -7
View File
@@ -213,16 +213,13 @@ void Core_RunLoopUntil(u64 globalticks) {
case DLResult::DebugBreak:
GPUStepping::EnterStepping(coreState);
break;
case DLResult::Error:
// We should elegantly report the error somehow, or I guess ignore it.
hleFinishSyscallAfterGe();
coreState = preGeCoreState;
break;
case DLResult::Done:
// Done executing for now
case DLResult::Error: // We should elegantly report the error somehow, or I guess ignore it.
case DLResult::Done: // Done executing for now
hleFinishSyscallAfterGe();
coreState = preGeCoreState;
break;
default:
// Not a valid return value.
_dbg_assert_(false);