summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-08 17:48:32 +0100
committerGitHub <noreply@github.com>2019-03-08 17:48:32 +0100
commitd10dffed4499dea602ef899968e40bf306bc499d (patch)
treed5e840c8756ca5270e54bf66bcbe328c04be2c5a
parentMerge pull request #2195 from lioncash/shared-global (diff)
parentdma_pusher: Store command_list_header by copy (diff)
downloadyuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar.gz
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar.bz2
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar.lz
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar.xz
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.tar.zst
yuzu-d10dffed4499dea602ef899968e40bf306bc499d.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;