diff --git a/Common/Render/Text/draw_text_sdl.cpp b/Common/Render/Text/draw_text_sdl.cpp index 2a9cd045fb..2fd0192f6a 100644 --- a/Common/Render/Text/draw_text_sdl.cpp +++ b/Common/Render/Text/draw_text_sdl.cpp @@ -261,9 +261,10 @@ void TextDrawerSDL::SetOrCreateFont(const FontStyle &style) { int ptSize = static_cast(style.sizePts / dpiScale_ * 1.25f); TTF_Font *font = TTF_OpenFont(useFont.c_str(), ptSize); if (!font) { - ERROR_LOG(Log::G3D, "Failed to load font file %s", useFont.c_str()); + bool exists = File::Exists(useFont); + ERROR_LOG(Log::G3D, "Failed to load font file %s: exists=%d", useFont.c_str(), (int)exists); } - // Still, mark it with a nullptr to avoid retrying. + // Still, even if it failed and font is nullptr, mark it in the map to avoid retrying. loadedFonts_[useFont] = font; } diff --git a/ppsspp.iss b/ppsspp.iss index 4846e2f862..121d11c2fa 100644 --- a/ppsspp.iss +++ b/ppsspp.iss @@ -96,6 +96,7 @@ Source: "README.md"; DestName: "README.txt"; DestDir: "{app}"; Flags: isreadme ; configuration etc in the user's directory, not in our own subdirectory. Source: "notinstalled.txt"; DestName: "installed.txt"; DestDir: "{app}"; Source: "assets\*.*"; DestDir: "{app}\assets" +Source: "assets\ui_images\*.*"; DestDir: "{app}\assets\ui_images" Source: "assets\shaders\*.*"; DestDir: "{app}\assets\shaders" Source: "assets\themes\*.*"; DestDir: "{app}\assets\themes" Source: "assets\debugger\*"; DestDir: "{app}\assets\debugger"; Flags: recursesubdirs