Reimplement a lot of logic, implement loop streaming properly

This commit is contained in:
Henrik Rydgård committed 2025-03-18 09:36:33 +01:00
1 parent b99348383c
commit bb436cda8f
9 files changed
+643 -419

No files matched your search

+8 -1
View File
@@ -3450,7 +3450,14 @@ bool __KernelCheckCallbacks() {
}
if (processed) {
return __KernelExecutePendingMipsCalls(__GetCurrentThread(), true);
PSPThread *thread = __GetCurrentThread();
if (thread) {
return __KernelExecutePendingMipsCalls(thread, true);
} else {
ERROR_LOG(Log::sceKernel, "No current thread in __KernelCheckCallbacks!");
// stumble along?
return true;
}
}
return false;
}