summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2023-12-31 21:00:01 +0100
committerGravatar Fernando Sahmkow2023-12-31 21:00:01 +0100
commitd07397931a167004ea191ef275d11b8a02aa4fb7 (patch)
tree280950f6f82957d507594190ecec3edc561d885a /src/core/memory.h
parentMerge pull request #12479 from GPUCode/linear-bcn (diff)
downloadyuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.gz
yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.tar.xz
yuzu-d07397931a167004ea191ef275d11b8a02aa4fb7.zip
MaxwellDMA: Don't flush the outputs of a dma copy.
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h2
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:
683 } else { 683 } else {
684 this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); 684 this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes());
685 } 685 }
686 } else if constexpr (FLAGS & GuestMemoryFlags::Safe) { 686 } else if constexpr ((FLAGS & GuestMemoryFlags::Safe) || (FLAGS & GuestMemoryFlags::Cached)) {
687 this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); 687 this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes());
688 } 688 }
689 } 689 }