diff options
Diffstat (limited to 'src/core/cpu_manager.cpp')
| -rw-r--r-- | src/core/cpu_manager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index b4718fbbe..132fe5b60 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -113,12 +113,10 @@ void CpuManager::MultiCoreRunGuestLoop() { | |||
| 113 | 113 | ||
| 114 | while (true) { | 114 | while (true) { |
| 115 | auto* physical_core = &kernel.CurrentPhysicalCore(); | 115 | auto* physical_core = &kernel.CurrentPhysicalCore(); |
| 116 | system.EnterDynarmicProfile(); | ||
| 117 | while (!physical_core->IsInterrupted()) { | 116 | while (!physical_core->IsInterrupted()) { |
| 118 | physical_core->Run(); | 117 | physical_core->Run(); |
| 119 | physical_core = &kernel.CurrentPhysicalCore(); | 118 | physical_core = &kernel.CurrentPhysicalCore(); |
| 120 | } | 119 | } |
| 121 | system.ExitDynarmicProfile(); | ||
| 122 | { | 120 | { |
| 123 | Kernel::KScopedDisableDispatch dd(kernel); | 121 | Kernel::KScopedDisableDispatch dd(kernel); |
| 124 | physical_core->ArmInterface().ClearExclusiveState(); | 122 | physical_core->ArmInterface().ClearExclusiveState(); |
| @@ -166,12 +164,10 @@ void CpuManager::SingleCoreRunGuestLoop() { | |||
| 166 | auto& kernel = system.Kernel(); | 164 | auto& kernel = system.Kernel(); |
| 167 | while (true) { | 165 | while (true) { |
| 168 | auto* physical_core = &kernel.CurrentPhysicalCore(); | 166 | auto* physical_core = &kernel.CurrentPhysicalCore(); |
| 169 | system.EnterDynarmicProfile(); | ||
| 170 | if (!physical_core->IsInterrupted()) { | 167 | if (!physical_core->IsInterrupted()) { |
| 171 | physical_core->Run(); | 168 | physical_core->Run(); |
| 172 | physical_core = &kernel.CurrentPhysicalCore(); | 169 | physical_core = &kernel.CurrentPhysicalCore(); |
| 173 | } | 170 | } |
| 174 | system.ExitDynarmicProfile(); | ||
| 175 | kernel.SetIsPhantomModeForSingleCore(true); | 171 | kernel.SetIsPhantomModeForSingleCore(true); |
| 176 | system.CoreTiming().Advance(); | 172 | system.CoreTiming().Advance(); |
| 177 | kernel.SetIsPhantomModeForSingleCore(false); | 173 | kernel.SetIsPhantomModeForSingleCore(false); |