summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Mai2022-06-14 21:07:47 -0400
committerGravatar GitHub2022-06-14 21:07:47 -0400
commitc9de5474bfb7543a01337b73c33c4bf3b76e276e (patch)
tree7f9899bf3621fd4be5d7ef224a4c1f113aa2862e /src/core/hle/kernel/svc.cpp
parentMerge pull request #8461 from Morph1984/msvc-narrow-conv (diff)
parentcore: centralize profile scope for Dynarmic (diff)
downloadyuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.gz
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.xz
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.zip
Merge pull request #8462 from liamwhite/dynarmic-profile
core: centralize profile scope for Dynarmic
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 584fa5b1c..9956f2b51 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2982,7 +2982,6 @@ static const FunctionDef* GetSVCInfo64(u32 func_num) {
2982} 2982}
2983 2983
2984void Call(Core::System& system, u32 immediate) { 2984void Call(Core::System& system, u32 immediate) {
2985 system.ExitDynarmicProfile();
2986 auto& kernel = system.Kernel(); 2985 auto& kernel = system.Kernel();
2987 kernel.EnterSVCProfile(); 2986 kernel.EnterSVCProfile();
2988 2987
@@ -3007,8 +3006,6 @@ void Call(Core::System& system, u32 immediate) {
3007 auto* host_context = thread->GetHostContext().get(); 3006 auto* host_context = thread->GetHostContext().get();
3008 host_context->Rewind(); 3007 host_context->Rewind();
3009 } 3008 }
3010
3011 system.EnterDynarmicProfile();
3012} 3009}
3013 3010
3014} // namespace Kernel::Svc 3011} // namespace Kernel::Svc