diff options
author | Liam <byteslice@airmail.cc> | 2023-11-19 19:57:23 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2023-11-25 06:47:36 +0100 |
commit | 263b7a44f9ec1ac78fdb1c14a84c652c1bd63905 (patch) | |
tree | 4bb1488a791c808bbbbfcbc9e4f0757510842b6e /src/core/arm/nce | |
parent | Address some review comments (diff) | |
download | yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar.gz yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar.bz2 yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar.lz yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar.xz yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.tar.zst yuzu-263b7a44f9ec1ac78fdb1c14a84c652c1bd63905.zip |
Diffstat (limited to 'src/core/arm/nce')
-rw-r--r-- | src/core/arm/nce/arm_nce.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/arm/nce/arm_nce.cpp b/src/core/arm/nce/arm_nce.cpp index fd82f3b0e..bb1f6d2e6 100644 --- a/src/core/arm/nce/arm_nce.cpp +++ b/src/core/arm/nce/arm_nce.cpp @@ -377,9 +377,7 @@ void ARM_NCE::ClearInstructionCache() { } void ARM_NCE::InvalidateCacheRange(u64 addr, std::size_t size) { - // Clean cache. - auto* ptr = reinterpret_cast<char*>(addr); - __builtin___clear_cache(ptr, ptr + size); + this->ClearInstructionCache(); } void ARM_NCE::ClearExclusiveState() { |