From b26ad941bad0172b14cc8a064cfaf3f4c57341d7 Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 3 Dec 2024 20:34:00 -0500 Subject: [PATCH] progress --- mods/Levels/PS1_TrackROM/src/LOAD_TenStages.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mods/Levels/PS1_TrackROM/src/LOAD_TenStages.c b/mods/Levels/PS1_TrackROM/src/LOAD_TenStages.c index 78ff95844..13deb7641 100644 --- a/mods/Levels/PS1_TrackROM/src/LOAD_TenStages.c +++ b/mods/Levels/PS1_TrackROM/src/LOAD_TenStages.c @@ -236,6 +236,9 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader* MainInit_PrimMem(gGT); MainInit_OTMem(gGT); + // disable only for no$psx, + // cause it wont support 2mb+ Prim/OT + #if 1 for(int i = 0; i < 2; i++) { struct PrimMem* primMem = &gGT->db[i].primMem; @@ -256,6 +259,7 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader* primMem->end = pvVar1; primMem->endMin100 = (void*)((int)pvVar1 - 0x100); } + #endif // if cutscene, adventure arena, or credits if @@ -518,7 +522,13 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader* LOAD_AppendQueue(bigfile, LT_VRAM, 222, 0, 0); // adds LEV to loading queue - LOAD_AppendQueue(bigfile, LT_DRAM, 221, 0, &LOAD_Callback_LEV); + LOAD_AppendQueue(bigfile, LT_DRAM, 221, + + // no$psx wont work with 8mb? could've sworn it did + //0, + 0x80200000, + + &LOAD_Callback_LEV); } else