| 234 | } |
| 235 | |
| 236 | __forceinline void CounterUpdate(u32 DMAICounter) |
| 237 | { |
| 238 | if (((psxCounters[6].startCycle + psxCounters[6].deltaCycles) - psxRegs.cycle) > (u32)DMAICounter) |
| 239 | { |
| 240 | psxCounters[6].startCycle = psxRegs.cycle; |
| 241 | psxCounters[6].deltaCycles = DMAICounter; |
| 242 | |
| 243 | psxNextDeltaCounter -= (psxRegs.cycle - psxNextStartCounter); |
| 244 | psxNextStartCounter = psxRegs.cycle; |
| 245 | if (psxCounters[6].deltaCycles < psxNextDeltaCounter) |
| 246 | psxNextDeltaCounter = psxCounters[6].deltaCycles; |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | __forceinline void CheckDMAProgress(int cid) |
| 251 | { |
no outgoing calls
no test coverage detected