mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Cleanup
This commit is contained in:
1 parent
4fcf5a4fab
commit
9293afa1c0
2 files changed
+10
-12
No files matched your search
+1
-9
@@ -617,19 +617,11 @@ BootState PSP_InitUpdate(std::string *error_string) {
|
||||
*error_string = "Unable to initialize rendering engine.";
|
||||
PSP_Shutdown(false);
|
||||
g_bootState = BootState::Off;
|
||||
Core_NotifyLifecycle(CoreLifecycle::START_COMPLETE);
|
||||
return BootState::Failed;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: This should all be checked during GPU_Init.
|
||||
if (!GPU_IsStarted()) {
|
||||
*error_string = "Unable to initialize rendering engine.";
|
||||
PSP_Shutdown(false);
|
||||
g_bootState = BootState::Off;
|
||||
Core_NotifyLifecycle(CoreLifecycle::START_COMPLETE);
|
||||
return BootState::Failed;
|
||||
}
|
||||
|
||||
Core_NotifyLifecycle(CoreLifecycle::START_COMPLETE);
|
||||
// The thread should have set it at this point.
|
||||
_dbg_assert_(bootState == BootState::Complete);
|
||||
|
||||
Reference in new issue
Block a user