mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Installer script fix
This commit is contained in:
@@ -261,9 +261,10 @@ void TextDrawerSDL::SetOrCreateFont(const FontStyle &style) {
|
||||
int ptSize = static_cast<int>(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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user