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.5 by gbeauche, 2003-05-21T18:57:17Z vs.
Revision 1.6 by gbeauche, 2003-05-21T19:31:57Z

# Line 2013 | Line 2013 | static bool patch_68k(void)
2013          wp = (uint16 *)(ROM_BASE + base);
2014          if (ROMType == ROMTYPE_ZANZIBAR)
2015                  *wp = htons(M68K_RTS);
2016 <        else
2016 >        else if (ntohs(wp[-4]) == 0x61ff)
2017 >                *wp = htons(M68K_RTS);
2018 >        else if (ntohs(wp[-2]) == 0x6700)
2019                  wp[-2] = htons(0x6000); // bra
2020  
2021          // Patch PowerOff()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines