summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/kepler_memory.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-16 04:05:17 +0100
committerLioncash <mathew1800@gmail.com>2019-02-16 04:06:23 +0100
commita8fa5019b51c9ce765124121daac863cfc1365aa (patch)
treee23b97873c1e6b4fcb34066fccb393d2a1147bb8 /src/video_core/engines/kepler_memory.h
parentMerge pull request #2123 from lioncash/coretiming-global (diff)
downloadyuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.gz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.bz2
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.lz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.xz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.zst
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/kepler_memory.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.h
index fe9ebc5b9..f680c2ad9 100644
--- a/src/video_core/engines/kepler_memory.h
+++ b/src/video_core/engines/kepler_memory.h
@@ -5,13 +5,16 @@
#pragma once
#include <array>
-#include "common/assert.h"
#include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "video_core/gpu.h"
#include "video_core/memory_manager.h"
+namespace Core {
+class System;
+}
+
namespace VideoCore {
class RasterizerInterface;
}
@@ -23,7 +26,8 @@ namespace Tegra::Engines {
class KeplerMemory final {
public:
- KeplerMemory(VideoCore::RasterizerInterface& rasterizer, MemoryManager& memory_manager);
+ KeplerMemory(Core::System& system, VideoCore::RasterizerInterface& rasterizer,
+ MemoryManager& memory_manager);
~KeplerMemory();
/// Write the value to the register identified by method.
@@ -76,6 +80,7 @@ public:
} state{};
private:
+ Core::System& system;
MemoryManager& memory_manager;
VideoCore::RasterizerInterface& rasterizer;