mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-07-15 20:24:09 +00:00
@@ -1071,16 +1071,10 @@ static bool patch_rom_classic(void)
|
|||||||
|
|
||||||
// blink floppy, disk icon
|
// blink floppy, disk icon
|
||||||
lp = (uint32 *)(ROMBaseHost + 0xf4c);
|
lp = (uint32 *)(ROMBaseHost + 0xf4c);
|
||||||
*lp = htonl(MacFrameBaseMac24Bit
|
*lp = htonl(MacFrameBaseMac24Bit + (((MacScreenHeight / 4) * 2 - 25) * MacScreenWidth + (MacScreenWidth / 2 - 16)) / 8);
|
||||||
+ (((MacScreenHeight / 4) * 2 - 25) * MacScreenWidth
|
|
||||||
+ (MacScreenWidth / 2 - 16))
|
|
||||||
/ 8);
|
|
||||||
// blink floppy, question mark
|
// blink floppy, question mark
|
||||||
lp = (uint32 *)(ROMBaseHost + 0xf5e);
|
lp = (uint32 *)(ROMBaseHost + 0xf5e);
|
||||||
*lp = htonl(MacFrameBaseMac24Bit
|
*lp = htonl(MacFrameBaseMac24Bit + (((MacScreenHeight / 4) * 2 - 10) * MacScreenWidth + (MacScreenWidth / 2 - 8)) / 8);
|
||||||
+ (((MacScreenHeight / 4) * 2 - 10) * MacScreenWidth
|
|
||||||
+ (MacScreenWidth / 2 - 8))
|
|
||||||
/ 8);
|
|
||||||
|
|
||||||
lp = (uint32 *)(ROMBaseHost + 0x10a2);
|
lp = (uint32 *)(ROMBaseHost + 0x10a2);
|
||||||
*lp = htonl(MacFrameBaseMac24Bit);
|
*lp = htonl(MacFrameBaseMac24Bit);
|
||||||
@@ -1096,16 +1090,10 @@ static bool patch_rom_classic(void)
|
|||||||
|
|
||||||
// sad mac, mac icon
|
// sad mac, mac icon
|
||||||
lp = (uint32 *)(ROMBaseHost + 0x118a);
|
lp = (uint32 *)(ROMBaseHost + 0x118a);
|
||||||
*lp = htonl(MacFrameBaseMac24Bit
|
*lp = htonl(MacFrameBaseMac24Bit + (((MacScreenHeight / 4) * 2 - 25) * MacScreenWidth + (MacScreenWidth / 2 - 16)) / 8);
|
||||||
+ (((MacScreenHeight / 4) * 2 - 25) * MacScreenWidth
|
|
||||||
+ (MacScreenWidth / 2 - 16))
|
|
||||||
/ 8);
|
|
||||||
// sad mac, frown
|
// sad mac, frown
|
||||||
lp = (uint32 *)(ROMBaseHost + 0x1198);
|
lp = (uint32 *)(ROMBaseHost + 0x1198);
|
||||||
*lp = htonl(MacFrameBaseMac24Bit
|
*lp = htonl(MacFrameBaseMac24Bit + (((MacScreenHeight / 4) * 2 - 19) * MacScreenWidth + (MacScreenWidth / 2 - 8)) / 8);
|
||||||
+ (((MacScreenHeight / 4) * 2 - 19) * MacScreenWidth
|
|
||||||
+ (MacScreenWidth / 2 - 8))
|
|
||||||
/ 8);
|
|
||||||
wp = (uint16 *)(ROMBaseHost + 0x11b0);
|
wp = (uint16 *)(ROMBaseHost + 0x11b0);
|
||||||
*wp = htons(MacScreenWidth / 8);
|
*wp = htons(MacScreenWidth / 8);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user