summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-03-08 08:06:54 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-03-08 08:06:54 +0100
commite7ac5a6adf397b64d4ca3f29726c44c77faa3558 (patch)
treed5e840c8756ca5270e54bf66bcbe328c04be2c5a
parentMerge pull request #2195 from lioncash/shared-global (diff)
downloadyuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar.gz
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar.bz2
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar.lz
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar.xz
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.tar.zst
yuzu-e7ac5a6adf397b64d4ca3f29726c44c77faa3558.zip
-rw-r--r--src/video_core/dma_pusher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index 669541b4b..bff1a37ff 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -39,7 +39,7 @@ bool DmaPusher::Step() {
}
const CommandList& command_list{dma_pushbuffer.front()};
- const CommandListHeader& command_list_header{command_list[dma_pushbuffer_subindex++]};
+ const CommandListHeader command_list_header{command_list[dma_pushbuffer_subindex++]};
GPUVAddr dma_get = command_list_header.addr;
GPUVAddr dma_put = dma_get + command_list_header.size * sizeof(u32);
bool non_main = command_list_header.is_non_main;