| 11 | BaseVUmicroCPU* CpuVU1 = nullptr; |
| 12 | |
| 13 | __inline u32 CalculateMinRunCycles(u32 cycles, bool requiresAccurateCycles) |
| 14 | { |
| 15 | // If we're running an interlocked COP2 operation |
| 16 | // run for an exact amount of cycles |
| 17 | if(requiresAccurateCycles) |
| 18 | return cycles; |
| 19 | |
| 20 | // Allow a minimum of 16 cycles to avoid running small blocks |
| 21 | // Running a block of like 3 cycles is highly inefficient |
| 22 | // so while sync isn't tight, it's okay to run ahead a little bit. |
| 23 | return std::max(16U, cycles); |
| 24 | } |
| 25 | |
| 26 | // Executes a Block based on EE delta time |
| 27 | void BaseVUmicroCPU::ExecuteBlock(bool startUp) |
no test coverage detected