diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-21 03:24:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 03:24:56 +0100 |
commit | ae437320c84e8c5fff69e8cec413e63b11f952b6 (patch) | |
tree | d7f7f74d87fdaa6dd9ec829086e8c3814ae0506b /src/video_core/engines/maxwell_dma.h | |
parent | Fixes Unicode Key File Directories (#2120) (diff) | |
parent | video_core: Remove usages of System::GetInstance() within the engines (diff) | |
download | yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.gz yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.bz2 yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.lz yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.xz yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.tar.zst yuzu-ae437320c84e8c5fff69e8cec413e63b11f952b6.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_dma.h')
-rw-r--r-- | src/video_core/engines/maxwell_dma.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index 1f8cd65d2..cf75aeb12 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.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; } @@ -20,7 +23,8 @@ namespace Tegra::Engines { class MaxwellDMA final { public: - explicit MaxwellDMA(VideoCore::RasterizerInterface& rasterizer, MemoryManager& memory_manager); + explicit MaxwellDMA(Core::System& system, VideoCore::RasterizerInterface& rasterizer, + MemoryManager& memory_manager); ~MaxwellDMA() = default; /// Write the value to the register identified by method. @@ -137,6 +141,8 @@ public: MemoryManager& memory_manager; private: + Core::System& system; + VideoCore::RasterizerInterface& rasterizer; /// Performs the copy from the source buffer to the destination buffer as configured in the |