diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-11-26 21:32:33 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-11-26 21:32:33 +0100 |
commit | 27be446049cf09f2025451d53eb6c49597cf097b (patch) | |
tree | 60a6e84ea7a8364615a010d7cdc06fafe3c77334 /src/core/arm/dynarmic | |
parent | Merge pull request #2210 from jroweboy/pagetables (diff) | |
download | yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar.gz yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar.bz2 yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar.lz yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar.xz yuzu-27be446049cf09f2025451d53eb6c49597cf097b.tar.zst yuzu-27be446049cf09f2025451d53eb6c49597cf097b.zip |
Diffstat (limited to 'src/core/arm/dynarmic')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 2595defdf..ca8a94ee9 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -131,9 +131,9 @@ MICROPROFILE_DEFINE(ARM_Jit, "ARM JIT", "ARM JIT", MP_RGB(255, 64, 64)); void ARM_Dynarmic::ExecuteInstructions(int num_instructions) { MICROPROFILE_SCOPE(ARM_Jit); - jit->Run(static_cast<unsigned>(num_instructions)); + unsigned ticks_executed = jit->Run(static_cast<unsigned>(num_instructions)); - AddTicks(num_instructions); + AddTicks(ticks_executed); } void ARM_Dynarmic::SaveContext(Core::ThreadContext& ctx) { |