| 334 | } |
| 335 | |
| 336 | static __fi void _cpuTestPERF() |
| 337 | { |
| 338 | // Perfs are updated when read by games (COP0's MFC0/MTC0 instructions), so we need |
| 339 | // only update them at semi-regular intervals to keep cpuRegs.cycle from wrapping |
| 340 | // around twice on us btween updates. Hence this function is called from the cpu's |
| 341 | // Counters update. |
| 342 | |
| 343 | COP0_UpdatePCCR(); |
| 344 | } |
| 345 | |
| 346 | // Checks the COP0.Status for exception enablings. |
| 347 | // Exception handling for certain modes is *not* currently supported, this function filters |
no test coverage detected