diff options
| author | 2024-01-01 15:02:20 -0500 | |
|---|---|---|
| committer | 2024-01-01 15:02:20 -0500 | |
| commit | 15cf34cd628851a673dec37fe7146a1488a70014 (patch) | |
| tree | a9010922b2072eea8cc1b6701e6a549afd7c8749 /src/core/memory.h | |
| parent | Merge pull request #12536 from german77/npad_interface (diff) | |
| parent | Vulkan: Only recreate swapchain if the frame is bigger than the swap image. (diff) | |
| download | yuzu-15cf34cd628851a673dec37fe7146a1488a70014.tar.gz yuzu-15cf34cd628851a673dec37fe7146a1488a70014.tar.xz yuzu-15cf34cd628851a673dec37fe7146a1488a70014.zip | |
Merge pull request #12543 from FernandoS27/stop-liking-posts-from-ur-friends-ex
VideoCore: A few fixes to DMA and swapchain
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 3e4d03f57..dddfaf4a4 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -686,7 +686,8 @@ public: | |||
| 686 | } else { | 686 | } else { |
| 687 | this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); | 687 | this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); |
| 688 | } | 688 | } |
| 689 | } else if constexpr (FLAGS & GuestMemoryFlags::Safe) { | 689 | } else if constexpr ((FLAGS & GuestMemoryFlags::Safe) || |
| 690 | (FLAGS & GuestMemoryFlags::Cached)) { | ||
| 690 | this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); | 691 | this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); |
| 691 | } | 692 | } |
| 692 | } | 693 | } |