mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
arm_nce: skip dc cvac on possibly write-protected areas
This commit is contained in:
parent
6de2edcca1
commit
263b7a44f9
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user