mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Libretro: Correctly update the boot process
Made untested changes after #20183 - surprise, it didn't work. Thanks @Duarte475 for reporting. Fixes #20189
This commit is contained in:
1 parent
08dddbe470
commit
940e2375aa
3 files changed
+42
-28
No files matched your search
+1
-2
@@ -512,8 +512,6 @@ bool PSP_InitStart(const CoreParameter &coreParam) {
|
||||
return false;
|
||||
}
|
||||
|
||||
_dbg_assert_(coreState != CORE_POWERUP);
|
||||
|
||||
coreState = CORE_POWERUP;
|
||||
|
||||
g_bootState = BootState::Booting;
|
||||
@@ -616,6 +614,7 @@ BootState PSP_InitUpdate(std::string *error_string) {
|
||||
if (!gpu) { // should be!
|
||||
INFO_LOG(Log::System, "Starting graphics...");
|
||||
Draw::DrawContext *draw = g_CoreParameter.graphicsContext ? g_CoreParameter.graphicsContext->GetDrawContext() : nullptr;
|
||||
// This set the `gpu` global.
|
||||
bool success = GPU_Init(g_CoreParameter.graphicsContext, draw);
|
||||
if (!success) {
|
||||
*error_string = "Unable to initialize rendering engine.";
|
||||
|
||||
Reference in new issue
Block a user