mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-21 14:41:39 +00:00
Oops, fix compat reports on Android.
Always forget about the VFS thing...
This commit is contained in:
parent
b2260149ae
commit
3ebf47bbd5
@ -39,6 +39,7 @@
|
||||
|
||||
#include "base/buffer.h"
|
||||
#include "thread/thread.h"
|
||||
#include "file/zip_read.h"
|
||||
|
||||
#include <set>
|
||||
#include <stdlib.h>
|
||||
@ -334,8 +335,14 @@ namespace Reporting
|
||||
|
||||
// Some users run the exe from a zip or something, and don't have fonts.
|
||||
// This breaks things, but let's not report it since it's confusing.
|
||||
if (!File::Exists(g_Config.flash0Directory + "/font"))
|
||||
#if defined(USING_WIN_UI) || defined(APPLE)
|
||||
if (!File::Exists(g_Config.flash0Directory + "/font/jpn0.pgf"))
|
||||
return false;
|
||||
#else
|
||||
FileInfo fo;
|
||||
if (!VFSGetFileInfo("flash0/font/jpn0.pgf", &fo))
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return !everUnsupported;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user