MaxwellDMA: Don't flush the outputs of a dma copy.

This commit is contained in:
Fernando Sahmkow 2023-12-31 21:00:01 +01:00
parent f02a8d0ae9
commit d07397931a
2 changed files with 3 additions and 3 deletions

View file

@ -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());
}
}