Font: Match stingy selection per test.

This commit is contained in:
Unknown W. Brackets committed 2021-08-07 17:55:21 -07:00
1 parent 0772557a49
commit 9882f2854a
1 file changed
+1 -1
+1 -1
View File
@@ -1038,7 +1038,7 @@ static u32 sceFontOpen(u32 libHandle, u32 index, u32 mode, u32 errorCodePtr) {
return 0;
}
FontOpenMode openMode = mode == 0 ? FONT_OPEN_INTERNAL_STINGY : FONT_OPEN_INTERNAL_FULL;
FontOpenMode openMode = mode != 1 ? FONT_OPEN_INTERNAL_STINGY : FONT_OPEN_INTERNAL_FULL;
LoadedFont *font = fontLib->OpenFont(internalFonts[index], openMode, *errorCode);
if (font) {
*errorCode = 0;