| 161 | } |
| 162 | |
| 163 | static __fi void Sio0TestEvent(IopEventId n) |
| 164 | { |
| 165 | if (!(psxRegs.interrupt & (1 << n))) |
| 166 | { |
| 167 | return; |
| 168 | } |
| 169 | |
| 170 | if (psxTestCycle(psxRegs.sCycle[n], psxRegs.eCycle[n])) |
| 171 | { |
| 172 | psxRegs.interrupt &= ~(1 << n); |
| 173 | g_Sio0.Interrupt(Sio0Interrupt::TEST_EVENT); |
| 174 | } |
| 175 | else |
| 176 | { |
| 177 | psxSetNextBranch(psxRegs.sCycle[n], psxRegs.eCycle[n]); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | static __fi void _psxTestInterrupts() |
| 182 | { |
no test coverage detected