From 127ee5d30f28ea7af1141fa21f504ea592d73844 Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 28 Feb 2013 22:36:57 +0800 Subject: [PATCH] Create flash0:/font/ if not exists --- Core/HLE/sceFont.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/HLE/sceFont.cpp b/Core/HLE/sceFont.cpp index f9ccf1d3d..dfd5eae35 100644 --- a/Core/HLE/sceFont.cpp +++ b/Core/HLE/sceFont.cpp @@ -364,6 +364,9 @@ LoadedFont *GetLoadedFont(u32 handle, bool allowClosed) { void __LoadInternalFonts() { std::string fontPath = "flash0:/font/"; + if (!pspFileSystem.GetFileInfo(fontPath).exists) { + pspFileSystem.MkDir(fontPath); + } for (size_t i = 0; i < ARRAY_SIZE(fontRegistry); i++) { const FontRegistryEntry &entry = fontRegistry[i]; std::string fontFilename = fontPath + entry.fileName;