mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
portx64: fixed pal
This commit is contained in:
1 parent
d2dd109a05
commit
a5d9f02184
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user