ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/rsrc_patches.cpp
(Generate patch)

Comparing SheepShaver/src/rsrc_patches.cpp (file contents):
Revision 1.23 by gbeauche, 2008-01-01T09:47:38Z vs.
Revision 1.24 by asvitkine, 2009-08-18T18:26:10Z

# Line 929 | Line 929 | void PatchNativeResourceManager(void)
929  
930          // Patch native GetResource()
931          uint32 upp = ReadMacInt32(0x1480);
932 <        if ((upp & 0xffc00000) == ROM_BASE)
932 >        if ((upp & 0xffc00000) == ROMBase)
933                  return;
934          uint32 tvec = ReadMacInt32(upp + 5 * 4);
935          D(bug(" GetResource() entry %08x, TOC %08x\n", ReadMacInt32(tvec), ReadMacInt32(tvec + 4)));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines