mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Merge pull request #6977 from sum2012/UI_Crash
Win32:Prevent crash without ui_atlas.zim
This commit is contained in:
commit
3eec3a1497
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user