tests the cpu cycle against the given start and delta values. Returns true if the delta time has passed.
| 222 | // tests the cpu cycle against the given start and delta values. |
| 223 | // Returns true if the delta time has passed. |
| 224 | __fi int cpuTestCycle( u64 startCycle, s32 delta ) |
| 225 | { |
| 226 | // typecast the conditional to signed so that things don't explode |
| 227 | // if the startCycle is ahead of our current cpu cycle. |
| 228 | |
| 229 | return (int)(cpuRegs.cycle - startCycle) >= delta; |
| 230 | } |
| 231 | |
| 232 | // tells the EE to run the branch test the next time it gets a chance. |
| 233 | __fi void cpuSetEvent() |
no outgoing calls
no test coverage detected