mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Skip reporting when fonts do not exist.
I'm really tired of all the "no font" reports that aren't really valid.
This commit is contained in:
1 parent
b46ca9f94b
commit
553b284e95
1 file changed
+7
@@ -22,6 +22,7 @@
|
||||
#include "Core/Config.h"
|
||||
#include "Core/SaveState.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/FileSystems/MetaFileSystem.h"
|
||||
#include "Core/HLE/sceDisplay.h"
|
||||
#include "Core/HLE/sceKernelMemory.h"
|
||||
#include "Core/ELF/ParamSFO.h"
|
||||
@@ -269,6 +270,12 @@ namespace Reporting
|
||||
// TODO: Numbers to avoid dependency on GLES code.
|
||||
if (g_Config.iRenderingMode >= FBO_READFBOMEMORY_MIN)
|
||||
return false;
|
||||
|
||||
// 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 (!pspFileSystem.GetFileInfo("flash0:/font").exists)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user