| 2677 | } |
| 2678 | |
| 2679 | void VMManager::ShutdownCPUProviders() |
| 2680 | { |
| 2681 | if (newVifDynaRec) |
| 2682 | { |
| 2683 | dVifRelease(1); |
| 2684 | dVifRelease(0); |
| 2685 | } |
| 2686 | |
| 2687 | #ifdef _M_X86 // TODO(Stenzek): Remove me once EE/VU/IOP recs are added. |
| 2688 | CpuMicroVU1.Shutdown(); |
| 2689 | CpuMicroVU0.Shutdown(); |
| 2690 | |
| 2691 | psxRec.Shutdown(); |
| 2692 | recCpu.Shutdown(); |
| 2693 | #else |
| 2694 | // See the comment in the InitializeCPUProviders for an explaination why we |
| 2695 | // still need to manage the MTVU thread. |
| 2696 | if (vu1Thread.IsOpen()) |
| 2697 | vu1Thread.WaitVU(); |
| 2698 | #endif |
| 2699 | } |
| 2700 | |
| 2701 | void VMManager::UpdateCPUImplementations() |
| 2702 | { |
nothing calls this directly
no test coverage detected