mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
1 parent
72640514b5
commit
8b0144dbfc
2 files changed
+9
-2
No files matched your search
@@ -600,11 +600,16 @@ bool PSP_InitStart(const CoreParameter &coreParam) {
|
||||
Draw::DrawContext *draw = g_CoreParameter.graphicsContext ? g_CoreParameter.graphicsContext->GetDrawContext() : nullptr;
|
||||
|
||||
GPUCore gpuCore = g_CoreParameter.gpuCore;
|
||||
|
||||
// In libretro, the creation order is different, it's ok with a null draw context here.
|
||||
// We do need to rework the whole init process.. ugh.
|
||||
#ifndef __LIBRETRO__
|
||||
if (!draw && gpuCore != GPUCORE_SOFTWARE) {
|
||||
ERROR_LOG(Log::Loader, "No drawing context provided.");
|
||||
g_bootState = BootState::Failed;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
g_CoreParameter.errorString.clear();
|
||||
|
||||
|
||||
Reference in new issue
Block a user