From 7e700071cebef2bb46512328c5930a5722f904a6 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Sun, 14 Apr 2019 21:48:09 +0800 Subject: [PATCH] Cube-E: fix PACK 13 (Data Access Mgr) --- patchset/Cube-E/6-source.patch | 67 ++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/patchset/Cube-E/6-source.patch b/patchset/Cube-E/6-source.patch index a1f6ab7..0d68de3 100644 --- a/patchset/Cube-E/6-source.patch +++ b/patchset/Cube-E/6-source.patch @@ -16383,6 +16383,73 @@ diff --git a/Toolbox/ControlMgr/ScrollBarCDEF.a b/Toolbox/ControlMgr/ScrollBarCD @colorWindow ; yes => use the HiliteMode bsr SetupWMgrCPort move.w #hilite,-(sp) ; set HiliteMode +diff --git a/Toolbox/DataAccessMgr/DataAccessMgr.c b/Toolbox/DataAccessMgr/DataAccessMgr.c +--- a/Toolbox/DataAccessMgr/DataAccessMgr.c ++++ b/Toolbox/DataAccessMgr/DataAccessMgr.c +@@ -11,8 +11,6 @@ + + Change History (most recent first): + +- 11/19/92 RB Set ROMMapInsert to MapTrue just before doing some GetResource +- calls so that we look in ROM first. + <30> 3/13/92 JSM Renamed this file DataAccessMgr.c from SnarfMan.c, keeping all + the old revisions. + <29> 7/15/91 dba get rid of MEMERR +@@ -286,8 +284,6 @@ SMInitDBPack(short version) + get unlocked and/or purged at the wrong + time by PACKHelper. + */ +- *((short*) RomMapInsert) = mapTrue; +- + resH = GetResource(COMPCODERESTYPE, COMPCODERESID); + if (resH != NULL) + { +@@ -384,8 +380,6 @@ InstallDefaultHandlers(snarfGlobPtr glob) + if (rc == noErr) + { + /* get the 'rtt#' */ +- *((short*) RomMapInsert) = mapTrue; +- + resH = GetResource(RTTLISTRESTYPE, RTTLISTID); + if (resH != NULL) + { +@@ -406,9 +400,6 @@ InstallDefaultHandlers(snarfGlobPtr glob) + resP += sizeof(short); + + /* load in 'proc' */ +- +- *((short*) RomMapInsert) = mapTrue; +- + handlerH = GetResource(RTTCODERESTYPE, handlerID); + if (handlerH != NULL) + { +@@ -2184,8 +2175,6 @@ SMGetNewQuery(short queryID, QueryHandle *query) + *query = NULL; + + /* get the 'qrsc' */ +- *((short*) RomMapInsert) = mapTrue; +- + resH = (queryRes**)GetResource(QRSCRESTYPE, queryID); + + if (!resH) +@@ -2251,8 +2240,6 @@ SMGetNewQuery(short queryID, QueryHandle *query) + /* get qdef proc - id 0 means no qdef */ + if (resP->qdefID != 0) + { +- *((short*) RomMapInsert) = mapTrue; +- + queryP->queryProc = GetResource(QDEFRESTYPE, resP->qdefID); + if (!queryP->queryProc) + { +@@ -2278,8 +2265,6 @@ SMGetNewQuery(short queryID, QueryHandle *query) + + for (i = 0; i < resP->numQueries; i++) + { +- *((short*) RomMapInsert) = mapTrue; +- + *queries = GetResource(QUERYRESTYPE, *wstrID); + if (*queries) + { diff --git a/Toolbox/DiskInit/DiskInitBadBlock.c b/Toolbox/DiskInit/DiskInitBadBlock.c --- a/Toolbox/DiskInit/DiskInitBadBlock.c +++ b/Toolbox/DiskInit/DiskInitBadBlock.c