summaryrefslogtreecommitdiffstats
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-19 22:12:06 +0200
committerLioncash <mathew1800@gmail.com>2020-04-19 22:12:08 +0200
commit44e959157bf8247549e1d35e9332a66fc6a0cb9d (patch)
treea03646cd5230bb425223fa5758777a3130a62e30 /src/video_core/dma_pusher.cpp
parentMerge pull request #3686 from lioncash/table (diff)
downloadyuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar.gz
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar.bz2
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar.lz
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar.xz
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.tar.zst
yuzu-44e959157bf8247549e1d35e9332a66fc6a0cb9d.zip
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
-rw-r--r--src/video_core/dma_pusher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index 713c14182..0b77afc71 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -12,7 +12,7 @@
namespace Tegra {
-DmaPusher::DmaPusher(GPU& gpu) : gpu(gpu) {}
+DmaPusher::DmaPusher(Core::System& system, GPU& gpu) : gpu{gpu}, system{system} {}
DmaPusher::~DmaPusher() = default;
@@ -26,7 +26,7 @@ void DmaPusher::DispatchCalls() {
dma_pushbuffer_subindex = 0;
- while (Core::System::GetInstance().IsPoweredOn()) {
+ while (system.IsPoweredOn()) {
if (!Step()) {
break;
}