summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-29 02:58:28 +0100
committerbunnei <bunneidev@gmail.com>2019-04-06 05:43:34 +0200
commit20be92d5e623a348560dd9f764a9208a99cbc758 (patch)
tree667ab57d872946e792fd1f058b87bbb9a86ab878 /src/video_core/gpu.cpp
parentMerge pull request #2350 from lioncash/vmem (diff)
downloadyuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.gz
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.bz2
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.lz
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.xz
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.tar.zst
yuzu-20be92d5e623a348560dd9f764a9208a99cbc758.zip
Diffstat (limited to '')
-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 30b29e14d..4461083ff 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -31,7 +31,7 @@ u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer) : renderer{renderer} {
auto& rasterizer{renderer.Rasterizer()};
- memory_manager = std::make_unique<Tegra::MemoryManager>();
+ memory_manager = std::make_unique<Tegra::MemoryManager>(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, *memory_manager);