summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-15 23:47:15 +0100
committerGitHub <noreply@github.com>2020-02-15 23:47:15 +0100
commit0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a (patch)
treed10afc301c43914fd67686ebffeec4b2b052df82 /src/video_core/gpu.cpp
parentMerge pull request #3401 from FernandoS27/synchronization (diff)
downloadyuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.gz
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.bz2
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.lz
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.xz
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.tar.zst
yuzu-0f70f68fb3ea2fc72ed4ccfa80963e6db36fad2a.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 4419ab735..7d7137109 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -24,7 +24,7 @@ MICROPROFILE_DEFINE(GPU_wait, "GPU", "Wait for the GPU", MP_RGB(128, 128, 192));
GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer, bool is_async)
: system{system}, renderer{renderer}, is_async{is_async} {
auto& rasterizer{renderer.Rasterizer()};
- memory_manager = std::make_unique<Tegra::MemoryManager>(system);
+ memory_manager = std::make_unique<Tegra::MemoryManager>(system, rasterizer);
dma_pusher = std::make_unique<Tegra::DmaPusher>(*this);
maxwell_3d = std::make_unique<Engines::Maxwell3D>(system, rasterizer, *memory_manager);
fermi_2d = std::make_unique<Engines::Fermi2D>(rasterizer);