mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-26 01:49:19 +00:00
Cube-E: fix PACK 13 (Data Access Mgr)
This commit is contained in:
parent
2c130f8fab
commit
7e700071ce
@ -16383,6 +16383,73 @@ diff --git a/Toolbox/ControlMgr/ScrollBarCDEF.a b/Toolbox/ControlMgr/ScrollBarCD
|
|||||||
@colorWindow ; yes => use the HiliteMode
|
@colorWindow ; yes => use the HiliteMode
|
||||||
bsr SetupWMgrCPort
|
bsr SetupWMgrCPort
|
||||||
move.w #hilite,-(sp) ; set HiliteMode
|
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):
|
||||||
|
|
||||||
|
- <SM2> 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
|
diff --git a/Toolbox/DiskInit/DiskInitBadBlock.c b/Toolbox/DiskInit/DiskInitBadBlock.c
|
||||||
--- a/Toolbox/DiskInit/DiskInitBadBlock.c
|
--- a/Toolbox/DiskInit/DiskInitBadBlock.c
|
||||||
+++ b/Toolbox/DiskInit/DiskInitBadBlock.c
|
+++ b/Toolbox/DiskInit/DiskInitBadBlock.c
|
||||||
|
Loading…
Reference in New Issue
Block a user