Merge pull request #12543 from FernandoS27/stop-liking-posts-from-ur-friends-ex

VideoCore: A few fixes to DMA and swapchain
This commit is contained in:
liamwhite 2024-01-01 15:02:20 -05:00 committed by GitHub
commit 15cf34cd62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -686,7 +686,8 @@ 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());
}
}