summaryrefslogtreecommitdiffstats
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-06-15 03:07:47 +0200
committerGitHub <noreply@github.com>2022-06-15 03:07:47 +0200
commitc9de5474bfb7543a01337b73c33c4bf3b76e276e (patch)
tree7f9899bf3621fd4be5d7ef224a4c1f113aa2862e /src/core/arm/arm_interface.cpp
parentMerge pull request #8461 from Morph1984/msvc-narrow-conv (diff)
parentcore: centralize profile scope for Dynarmic (diff)
downloadyuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.gz
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.bz2
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.lz
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.xz
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.tar.zst
yuzu-c9de5474bfb7543a01337b73c33c4bf3b76e276e.zip
Diffstat (limited to '')
-rw-r--r--src/core/arm/arm_interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index 9b5a5ca57..9a285dfc6 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -107,6 +107,7 @@ void ARM_Interface::Run() {
}
// Otherwise, run the thread.
+ system.EnterDynarmicProfile();
if (current_thread->GetStepState() == StepState::StepPending) {
hr = StepJit();
@@ -116,6 +117,7 @@ void ARM_Interface::Run() {
} else {
hr = RunJit();
}
+ system.ExitDynarmicProfile();
// Notify the debugger and go to sleep if a breakpoint was hit.
if (Has(hr, breakpoint)) {