summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dynarmic
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-06-18 23:47:44 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:24 +0200
commitec11918323bec287c8b71cea6baee193c417fb38 (patch)
treeec32234b2d8f883361cdc16e8ace5842849472f1 /src/core/arm/dynarmic
parentAudio: Correct buffer release for host timing. (diff)
downloadyuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar.gz
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar.bz2
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar.lz
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar.xz
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.tar.zst
yuzu-ec11918323bec287c8b71cea6baee193c417fb38.zip
Diffstat (limited to 'src/core/arm/dynarmic')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_cp15.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_cp15.cpp b/src/core/arm/dynarmic/arm_dynarmic_cp15.cpp
index d43e4dd70..54556e0f9 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_cp15.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_cp15.cpp
@@ -97,7 +97,7 @@ CallbackOrAccessTwoWords DynarmicCP15::CompileGetTwoWords(bool two, unsigned opc
const auto callback = static_cast<u64 (*)(Dynarmic::A32::Jit*, void*, u32, u32)>(
[](Dynarmic::A32::Jit*, void* arg, u32, u32) -> u64 {
ARM_Dynarmic_32& parent = *(ARM_Dynarmic_32*)arg;
- return Timing::CpuCyclesToClockCycles(parent.system.CoreTiming().GetTicks());
+ return parent.system.CoreTiming().GetClockTicks();
});
return Dynarmic::A32::Coprocessor::Callback{callback, (void*)&parent};
}