mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-01 02:34:43 +00:00
Fix Gestalt for PowerPC 745x processors.
This commit is contained in:
parent
a4eb3b19ab
commit
41035e5064
@ -1750,7 +1750,7 @@ static bool patch_68k(void)
|
||||
*wp++ = htons(0x1000);
|
||||
*wp++ = htons(0x001e);
|
||||
*wp++ = htons(0x157c); // move.b #PVR,$1d(a2)
|
||||
*wp++ = htons(PVR >> 16);
|
||||
*wp++ = htons(((PVR & 0x80000000) ? 0x10 : 0) | ((PVR >> 16) & 0xff));
|
||||
*wp++ = htons(0x001d);
|
||||
*wp++ = htons(0x263c); // move.l #RAMSize,d3
|
||||
*wp++ = htons(RAMSize >> 16);
|
||||
|
Loading…
Reference in New Issue
Block a user