| 2659 | |
| 2660 | |
| 2661 | void VMManager::InitializeCPUProviders() |
| 2662 | { |
| 2663 | #ifdef _M_X86 // TODO(Stenzek): Remove me once EE/VU/IOP recs are added. |
| 2664 | recCpu.Reserve(); |
| 2665 | psxRec.Reserve(); |
| 2666 | |
| 2667 | CpuMicroVU0.Reserve(); |
| 2668 | CpuMicroVU1.Reserve(); |
| 2669 | #else |
| 2670 | // Despite not having any VU recompilers on ARM64, therefore no MTVU, |
| 2671 | // we still need the thread alive. Otherwise the read and write positions |
| 2672 | // of the ring buffer wont match, and various systems in the emulator end up deadlocked. |
| 2673 | vu1Thread.Open(); |
| 2674 | #endif |
| 2675 | |
| 2676 | VifUnpackSSE_Init(); |
| 2677 | } |
| 2678 | |
| 2679 | void VMManager::ShutdownCPUProviders() |
| 2680 | { |
nothing calls this directly
no test coverage detected