summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2024-01-07 07:56:51 +0100
committerGravatar Liam2024-01-18 21:12:30 -0500
commit4b963ca8a522ec8eb7198209719925e4077246fe (patch)
tree313560aeeeec3e226b7a668c8f2258028258fc6c /src/core/memory.h
parentCore: Make sure GPU Dirty Managers ae shared by all processes. (diff)
downloadyuzu-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.h6
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
17namespace Common { 18namespace Common {
@@ -498,4 +499,9 @@ private:
498 std::unique_ptr<Impl> impl; 499 std::unique_ptr<Impl> impl;
499}; 500};
500 501
502template <typename T, GuestMemoryFlags FLAGS>
503using CpuGuestMemory = GuestMemory<Core::Memory::Memory, T, FLAGS>;
504template <typename T, GuestMemoryFlags FLAGS>
505using CpuGuestMemoryScoped = GuestMemoryScoped<Core::Memory::Memory, T, FLAGS>;
506
501} // namespace Core::Memory 507} // namespace Core::Memory