mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-20 04:44:22 +01:00
Win32:Prevent crash without ui_atlas.zim
Just exit PPSSPP.Work around #6843
This commit is contained in:
1 parent
8a2ad025c7
commit
eca659d6f1
1 file changed
+4
@@ -541,6 +541,10 @@ void NativeInitGraphics() {
|
||||
#endif
|
||||
PanicAlert("Failed to load ui_atlas.zim.\n\nPlace it in the directory \"assets\" under your PPSSPP directory.");
|
||||
ELOG("Failed to load ui_atlas.zim");
|
||||
#ifdef _WIN32
|
||||
UINT ExitCode = 0;
|
||||
ExitProcess(ExitCode);
|
||||
#endif
|
||||
}
|
||||
|
||||
uiContext = new UIContext();
|
||||
|
||||
Reference in new issue
Block a user