| 2725 | } |
| 2726 | |
| 2727 | void VMManager::Internal::ClearCPUExecutionCaches() |
| 2728 | { |
| 2729 | Cpu->Reset(); |
| 2730 | psxCpu->Reset(); |
| 2731 | |
| 2732 | #ifdef _M_X86 // TODO(Stenzek): Remove me once EE/VU/IOP recs are added. |
| 2733 | // mVU's VU0 needs to be properly initialized for macro mode even if it's not used for micro mode! |
| 2734 | if (CHECK_EEREC && !EmuConfig.Cpu.Recompiler.EnableVU0) |
| 2735 | CpuMicroVU0.Reset(); |
| 2736 | #endif |
| 2737 | |
| 2738 | CpuVU0->Reset(); |
| 2739 | CpuVU1->Reset(); |
| 2740 | |
| 2741 | if constexpr (newVifDynaRec) |
| 2742 | { |
| 2743 | dVifReset(0); |
| 2744 | dVifReset(1); |
| 2745 | } |
| 2746 | } |
| 2747 | |
| 2748 | void VMManager::Execute() |
| 2749 | { |