diff options
| author | 2024-01-07 07:56:51 +0100 | |
|---|---|---|
| committer | 2024-01-18 21:12:30 -0500 | |
| commit | 4b963ca8a522ec8eb7198209719925e4077246fe (patch) | |
| tree | 313560aeeeec3e226b7a668c8f2258028258fc6c /src/core/memory.h | |
| parent | Core: Make sure GPU Dirty Managers ae shared by all processes. (diff) | |
| download | yuzu-4b963ca8a522ec8eb7198209719925e4077246fe.tar.gz yuzu-4b963ca8a522ec8eb7198209719925e4077246fe.tar.xz yuzu-4b963ca8a522ec8eb7198209719925e4077246fe.zip | |
Core: Invert guest memory depandancy
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 552fd585f..f7e6b297f 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | #include "common/scratch_buffer.h" | 13 | #include "common/scratch_buffer.h" |
| 14 | #include "common/typed_address.h" | 14 | #include "common/typed_address.h" |
| 15 | #include "core/guest_memory.h" | ||
| 15 | #include "core/hle/result.h" | 16 | #include "core/hle/result.h" |
| 16 | 17 | ||
| 17 | namespace Common { | 18 | namespace Common { |
| @@ -498,4 +499,9 @@ private: | |||
| 498 | std::unique_ptr<Impl> impl; | 499 | std::unique_ptr<Impl> impl; |
| 499 | }; | 500 | }; |
| 500 | 501 | ||
| 502 | template <typename T, GuestMemoryFlags FLAGS> | ||
| 503 | using CpuGuestMemory = GuestMemory<Core::Memory::Memory, T, FLAGS>; | ||
| 504 | template <typename T, GuestMemoryFlags FLAGS> | ||
| 505 | using CpuGuestMemoryScoped = GuestMemoryScoped<Core::Memory::Memory, T, FLAGS>; | ||
| 506 | |||
| 501 | } // namespace Core::Memory | 507 | } // namespace Core::Memory |