diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-18 23:47:44 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:36:24 +0200 |
commit | ec11918323bec287c8b71cea6baee193c417fb38 (patch) | |
tree | ec32234b2d8f883361cdc16e8ace5842849472f1 /src | |
parent | Audio: Correct buffer release for host timing. (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_cp15.cpp | 2 |
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}; } |