summaryrefslogtreecommitdiffstats
path: root/src/core/device_memory.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-28 05:36:08 +0200
committerLioncash <mathew1800@gmail.com>2020-07-28 05:37:49 +0200
commit2258f33ee46a44181256b6058faba96cc3b8dcf8 (patch)
tree1ba1387a1888fe76a8cc5b542f30921a65841ea5 /src/core/device_memory.h
parentMerge pull request #4419 from lioncash/initializer (diff)
downloadyuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar.gz
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar.bz2
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar.lz
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar.xz
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.tar.zst
yuzu-2258f33ee46a44181256b6058faba96cc3b8dcf8.zip
Diffstat (limited to 'src/core/device_memory.h')
-rw-r--r--src/core/device_memory.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/device_memory.h b/src/core/device_memory.h
index 9efa088d0..5b1ae28f3 100644
--- a/src/core/device_memory.h
+++ b/src/core/device_memory.h
@@ -4,14 +4,11 @@
#pragma once
-#include "common/assert.h"
-#include "common/common_funcs.h"
+#include "common/common_types.h"
#include "common/virtual_buffer.h"
namespace Core {
-class System;
-
namespace DramMemoryMap {
enum : u64 {
Base = 0x80000000ULL,
@@ -26,7 +23,7 @@ enum : u64 {
class DeviceMemory : NonCopyable {
public:
- explicit DeviceMemory(Core::System& system);
+ explicit DeviceMemory();
~DeviceMemory();
template <typename T>
@@ -45,7 +42,6 @@ public:
private:
Common::VirtualBuffer<u8> buffer;
- Core::System& system;
};
} // namespace Core