portx64: fixed pal

This commit is contained in:
Raf committed 2024-08-09 04:22:57 +08:00
1 parent d2dd109a05
commit a5d9f02184
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ u8 *preprocessFont(u8 *src, u32 srclen, u32 *outSize)
if (src == _fonthandelgothicsmSegmentRomStart
|| src == _fonthandelgothicxsSegmentRomStart
|| src == _fonthandelgothicmdSegmentRomStart) {
numchars = 135;
num_chars = 135;
}
#endif
+1 -1
View File
@@ -377,7 +377,7 @@ s32 langGetFileId(s32 bank)
void langLoad(s32 bank)
{
#if VERSION >= VERSION_PAL_BETA
s32 len = fileGetInflatedSize(langGetFileId(bank));
s32 len = fileGetInflatedSize(langGetFileId(bank), LOADTYPE_LANG);
if ((uintptr_t)g_LangBuffer + len + g_LangBufferSize - (uintptr_t)g_LangBufferPos >= 0) {
s32 len2 = (uintptr_t)g_LangBuffer + g_LangBufferSize - (uintptr_t)g_LangBufferPos;