portx64: pd-extract,preprocess: renamed "_x64" functions, removed now unused preprocess functions, increased snd heap size (x86)

This commit is contained in:
Raf committed 2024-08-08 17:15:33 +08:00
1 parent 9e34f80a2c
commit 8b1e81f32a
15 files changed
+27 -1355

No files matched your search

-5
View File
@@ -2003,11 +2003,6 @@ void bgBuildTables(s32 stagenum)
numlightsptr++;
}
// in x64, lights are already pre-processed at this point (TEMP)
#if !defined(PLATFORM_N64) && !defined(PLATFORM_64BIT)
preprocessBgLights(g_BgLightsFileData, 0);
#endif
// Free the section 3 allocation
mempRealloc(section3, 0, MEMPOOL_STAGE);
-4
View File
@@ -425,11 +425,7 @@ char *langGet(s32 textid)
uintptr_t addr;
if (bank && bank[textindex]) {
#ifdef PLATFORM_64BIT
addr = (uintptr_t)bank + bank[textindex];
#else
addr = (uintptr_t)bank + PD_BE32(bank[textindex]);
#endif
} else {
addr = 0;
}
-1
View File
@@ -48,7 +48,6 @@
#define ABS(val) ((val) > 0 ? (val) : -(val))
#define ABSF(val) ((val) > 0.0f ? (val) : -(val))
#define ALIGN(val, size) ((val + (size - 1)) & ~(size - 1))
#define ALIGN2(val) (((val) | 1) ^ 0x1)
#define ALIGN4(val) (((val) | 3) ^ 0x3)
#define ALIGN8(val) ((((val) + 0x7) | 0x7) ^ 0x7)
+4 -4
View File
@@ -1450,13 +1450,13 @@ void sndInit(void)
#endif
#if VERSION >= VERSION_JPN_FINAL
u32 heaplen = 1024 * 441;
u32 heaplen = 1024 * 528;
#elif VERSION >= VERSION_PAL_BETA
u32 heaplen = 1024 * 446;
u32 heaplen = 1024 * 533;
#elif VERSION >= VERSION_NTSC_1_0
u32 heaplen = 1024 * 441;
u32 heaplen = 1024 * 528;
#else
u32 heaplen = 1024 * 438;
u32 heaplen = 1024 * 525;
#endif
#ifdef PLATFORM_64BIT