1413 |
|
*lp = htonl(POWERPC_NOP); |
1414 |
|
|
1415 |
|
// Disable suspend (FE0F opcode) |
1416 |
< |
// TODO: really suspend SheepShaver |
1416 |
> |
// TODO: really suspend SheepShaver? |
1417 |
|
static const uint8 suspend_dat[] = {0x7c, 0x88, 0x68, 0x39, 0x41, 0x9d}; |
1418 |
|
if ((base = find_rom_data(0x315000, 0x316000, suspend_dat, sizeof(suspend_dat))) == 0) return false; |
1419 |
|
D(bug("suspend %08lx\n", base)); |
1420 |
< |
lp = (uint32 *)(ROMBaseHost + base + 8); |
1420 |
> |
lp = (uint32 *)(ROMBaseHost + base + 4); |
1421 |
|
*lp = htonl((ntohl(*lp) & 0xffff) | 0x48000000); // bgt -> b |
1422 |
|
|
1423 |
|
// Patch trap return routine |