# | Line 463 | Line 463 | void EmulOp(M68kRegisters *r, uint32 pc, | |
---|---|---|
463 | case OP_IDLE_TIME: | |
464 | // Sleep if no events pending | |
465 | if (ReadMacInt32(0x14c) == 0) | |
466 | < | Delay_usec(16667); |
466 | > | idle_wait(); |
467 | r->a[0] = ReadMacInt32(0x2b6); | |
468 | break; | |
469 | ||
470 | case OP_IDLE_TIME_2: | |
471 | // Sleep if no events pending | |
472 | if (ReadMacInt32(0x14c) == 0) | |
473 | < | Delay_usec(16667); |
473 | > | idle_wait(); |
474 | r->d[0] = (uint32)-2; | |
475 | break; | |
476 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |