summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.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/arm/arm_interface.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/arm/arm_interface.cpp')
-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() {
107 } 107 }
108 108
109 // Otherwise, run the thread. 109 // Otherwise, run the thread.
110 system.EnterDynarmicProfile();
110 if (current_thread->GetStepState() == StepState::StepPending) { 111 if (current_thread->GetStepState() == StepState::StepPending) {
111 hr = StepJit(); 112 hr = StepJit();
112 113
@@ -116,6 +117,7 @@ void ARM_Interface::Run() {
116 } else { 117 } else {
117 hr = RunJit(); 118 hr = RunJit();
118 } 119 }
120 system.ExitDynarmicProfile();
119 121
120 // Notify the debugger and go to sleep if a breakpoint was hit. 122 // Notify the debugger and go to sleep if a breakpoint was hit.
121 if (Has(hr, breakpoint)) { 123 if (Has(hr, breakpoint)) {