# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |