diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-12-31 21:00:01 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-12-31 21:00:01 +0100 |
commit | d07397931a167004ea191ef275d11b8a02aa4fb7 (patch) | |
tree | 280950f6f82957d507594190ecec3edc561d885a /src/core | |
parent | Merge pull request #12479 from GPUCode/linear-bcn (diff) | |
download | yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.gz yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.bz2 yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.lz yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.xz yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.zst yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index c1879e78f..7bf05e177 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -683,7 +683,7 @@ public: } else { this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); } - } else if constexpr (FLAGS & GuestMemoryFlags::Safe) { + } else if constexpr ((FLAGS & GuestMemoryFlags::Safe) || (FLAGS & GuestMemoryFlags::Cached)) { this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); } } |