diff options
author | Liam <byteslice@airmail.cc> | 2022-06-15 00:19:04 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-15 00:19:04 +0200 |
commit | 20eab9fed9435ecf4d222cefc4487fc8a2f81fe3 (patch) | |
tree | 7f9899bf3621fd4be5d7ef224a4c1f113aa2862e /src/core/cpu_manager.cpp | |
parent | Merge pull request #8461 from Morph1984/msvc-narrow-conv (diff) | |
download | yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar.gz yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar.bz2 yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar.lz yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar.xz yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.tar.zst yuzu-20eab9fed9435ecf4d222cefc4487fc8a2f81fe3.zip |
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() { while (true) { auto* physical_core = &kernel.CurrentPhysicalCore(); - system.EnterDynarmicProfile(); while (!physical_core->IsInterrupted()) { physical_core->Run(); physical_core = &kernel.CurrentPhysicalCore(); } - system.ExitDynarmicProfile(); { Kernel::KScopedDisableDispatch dd(kernel); physical_core->ArmInterface().ClearExclusiveState(); @@ -166,12 +164,10 @@ void CpuManager::SingleCoreRunGuestLoop() { auto& kernel = system.Kernel(); while (true) { auto* physical_core = &kernel.CurrentPhysicalCore(); - system.EnterDynarmicProfile(); if (!physical_core->IsInterrupted()) { physical_core->Run(); physical_core = &kernel.CurrentPhysicalCore(); } - system.ExitDynarmicProfile(); kernel.SetIsPhantomModeForSingleCore(true); system.CoreTiming().Advance(); kernel.SetIsPhantomModeForSingleCore(false); |