From 2258f33ee46a44181256b6058faba96cc3b8dcf8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 27 Jul 2020 23:36:08 -0400 Subject: device_memory: Remove unused system member This isn't used by anything in particular, so it can be removed. --- src/core/device_memory.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/core/device_memory.h') 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 @@ -45,7 +42,6 @@ public: private: Common::VirtualBuffer buffer; - Core::System& system; }; } // namespace Core -- cgit v1.2.3