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 | a81686eff8e29a6041495bcb0bc676cc4ea9ebf3 (patch) | |
| tree | 280950f6f82957d507594190ecec3edc561d885a /src/core | |
| parent | 64dd40ee88e71f7e53945f062530b0ed12b9e650 (diff) | |
MaxwellDMA: Don't flush the outputs of a dma copy.
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 c1879e78f9..7bf05e1774 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()); } } |
