diff options
| author | 2023-12-31 20:55:15 +0100 | |
|---|---|---|
| committer | 2024-01-18 21:12:30 -0500 | |
| commit | 590d9b7e1d875e0403fb87cfcd4a8d52c50e2b81 (patch) | |
| tree | b9eb43c5a4af892d5fda77fac241099c166c2380 /src/core/guest_memory.h | |
| parent | SMMU: Fix software rendering and cleanup (diff) | |
| download | yuzu-590d9b7e1d875e0403fb87cfcd4a8d52c50e2b81.tar.gz yuzu-590d9b7e1d875e0403fb87cfcd4a8d52c50e2b81.tar.xz yuzu-590d9b7e1d875e0403fb87cfcd4a8d52c50e2b81.zip | |
Core: Clang format and other small issues.
Diffstat (limited to 'src/core/guest_memory.h')
| -rw-r--r-- | src/core/guest_memory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/guest_memory.h b/src/core/guest_memory.h index 0b349cc17..8030df73a 100644 --- a/src/core/guest_memory.h +++ b/src/core/guest_memory.h | |||
| @@ -202,7 +202,8 @@ public: | |||
| 202 | } else { | 202 | } else { |
| 203 | this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); | 203 | this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes()); |
| 204 | } | 204 | } |
| 205 | } else if constexpr ((FLAGS & GuestMemoryFlags::Safe) || (FLAGS & GuestMemoryFlags::Cached)) { | 205 | } else if constexpr ((FLAGS & GuestMemoryFlags::Safe) || |
| 206 | (FLAGS & GuestMemoryFlags::Cached)) { | ||
| 206 | this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); | 207 | this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes()); |
| 207 | } | 208 | } |
| 208 | } | 209 | } |
| @@ -215,4 +216,4 @@ using CpuGuestMemory = GuestMemory<Core::Memory::Memory, T, FLAGS>; | |||
| 215 | template <typename T, GuestMemoryFlags FLAGS> | 216 | template <typename T, GuestMemoryFlags FLAGS> |
| 216 | using CpuGuestMemoryScoped = GuestMemoryScoped<Core::Memory::Memory, T, FLAGS>; | 217 | using CpuGuestMemoryScoped = GuestMemoryScoped<Core::Memory::Memory, T, FLAGS>; |
| 217 | 218 | ||
| 218 | } // namespace Tegra::Memory | 219 | } // namespace Core::Memory |