| 675 | } |
| 676 | |
| 677 | void EI() |
| 678 | { |
| 679 | if (cpuRegs.CP0.n.Status.b._EDI || cpuRegs.CP0.n.Status.b.EXL || |
| 680 | cpuRegs.CP0.n.Status.b.ERL || (cpuRegs.CP0.n.Status.b.KSU == 0)) |
| 681 | { |
| 682 | cpuRegs.CP0.n.Status.b.EIE = 1; |
| 683 | // schedule an event test, which will check for and raise pending IRQs. |
| 684 | cpuSetNextEventDelta(4); |
| 685 | } |
| 686 | } |
| 687 | |
| 688 | } // namespace COP0 |
| 689 | } // namespace OpcodeImpl |
nothing calls this directly
no test coverage detected