diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-08 17:48:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 17:48:32 +0100 |
commit | d10dffed4499dea602ef899968e40bf306bc499d (patch) | |
tree | d5e840c8756ca5270e54bf66bcbe328c04be2c5a | |
parent | Merge pull request #2195 from lioncash/shared-global (diff) | |
parent | dma_pusher: Store command_list_header by copy (diff) | |
download | yuzu-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.cpp | 2 |
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; |