| 226 | } |
| 227 | #ifdef FRAGMENT_SIMULATE_EXECUTION |
| 228 | void UpdateCountAndHandleException( u32 instructions_executed ) |
| 229 | { |
| 230 | #ifdef UPDATE_COUNTER_ON_EXCEPTION |
| 231 | // If we're updating the counter on every instruction, there's no need to do this... |
| 232 | #ifndef IMMEDIATE_COUNTER_UPDATE |
| 233 | CPU_UpdateCounterNoInterrupt( instructions_executed ); |
| 234 | #endif |
| 235 | #endif |
| 236 | HandleException(); |
| 237 | } |
| 238 | void CheckCop1Usable() |
| 239 | { |
| 240 | if( (gCPUState.CPUControl[C0_SR]._u32_0 & SR_CU1) == 0 ) |
nothing calls this directly
no test coverage detected