From 3762cc5edb3872ef8e2856991c701caf6096fa15 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Mon, 25 Jan 2021 07:06:24 -0800 Subject: [PATCH] Pack non-required global scripts on their map disk rather than disk 1, because disk 1 got too tight. --- Platform/Apple/virtual/src/plasma/gameloop.pla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Apple/virtual/src/plasma/gameloop.pla b/Platform/Apple/virtual/src/plasma/gameloop.pla index da8cf397..ecd4b53a 100644 --- a/Platform/Apple/virtual/src/plasma/gameloop.pla +++ b/Platform/Apple/virtual/src/plasma/gameloop.pla @@ -2451,7 +2451,7 @@ export def callGlobalFunc(moduleNum, arg1, arg2, arg3)#1 // First load the module if renderLoaded; flipToPage1(); fin - mmgr(START_LOAD, 1) // code is in partition 1 + mmgr(START_LOAD, moduleNum <= LAST_REQ_GS_MOD ?? 1 :: curMapPartition) pModule = mmgr(QUEUE_LOAD, moduleNum<<8 | RES_TYPE_MODULE) mmgr(FINISH_LOAD, 0)