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

Comparing SheepShaver/src/rom_patches.cpp (file contents):
Revision 1.31 by gbeauche, 2004-06-29T20:25:54Z vs.
Revision 1.32 by gbeauche, 2004-06-30T08:17:12Z

# Line 1750 | Line 1750 | static bool patch_68k(void)
1750          *wp++ = htons(0x1000);
1751          *wp++ = htons(0x001e);
1752          *wp++ = htons(0x157c);                  // move.b       #PVR,$1d(a2)
1753 <        *wp++ = htons(PVR >> 16);
1753 >        *wp++ = htons(((PVR & 0x80000000) ? 0x10 : 0) | ((PVR >> 16) & 0xff));
1754          *wp++ = htons(0x001d);
1755          *wp++ = htons(0x263c);                  // move.l       #RAMSize,d3
1756          *wp++ = htons(RAMSize >> 16);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines