mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 15:06:25 +00:00
Create flash0:/font/ if not exists
This commit is contained in:
parent
892422b408
commit
127ee5d30f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user