diff options
| author | 2023-12-31 21:00:01 +0100 | |
|---|---|---|
| committer | 2023-12-31 21:00:01 +0100 | |
| commit | d07397931a167004ea191ef275d11b8a02aa4fb7 (patch) | |
| tree | 280950f6f82957d507594190ecec3edc561d885a /src/core/memory.h | |
| parent | Merge pull request #12479 from GPUCode/linear-bcn (diff) | |
| download | yuzu-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.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: | |||
| 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 | } |