mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
softgpu: Detect binner alloc fail and bail.
This commit is contained in:
1 parent
d65c7fb05e
commit
be84bc9934
9 files changed
+41
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user