softgpu: Detect binner alloc fail and bail.

This commit is contained in:
Unknown W. Brackets committed 2023-01-01 06:59:14 -08:00
1 parent d65c7fb05e
commit be84bc9934
9 files changed
+41 -2

No files matched your search

+8
View File
@@ -487,6 +487,14 @@ bool PSP_InitUpdate(std::string *error_string) {
if (pspIsInited) {
Core_NotifyLifecycle(CoreLifecycle::START_COMPLETE);
pspIsRebooting = false;
// If GPU init failed during IsReady checks, bail.
if (!GPU_IsStarted()) {
*error_string = "Unable to initialize rendering engine.";
pspIsRebooting = false;
PSP_Shutdown();
return true;
}
}
return pspIsInited;
}