summaryrefslogtreecommitdiffstats
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-16 16:19:52 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-04-16 17:22:34 +0200
commit13d626fc217c4286a80071c5885eee2ab8795d62 (patch)
tree375697bccef4c12206b1eb8dfeb68e81e2378028 /src/video_core/dma_pusher.cpp
parentDocument unsafe versions and add BlockCopyUnsafe (diff)
downloadyuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar.gz
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar.bz2
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar.lz
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar.xz
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.tar.zst
yuzu-13d626fc217c4286a80071c5885eee2ab8795d62.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 046d047cb..6674d9405 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -57,8 +57,8 @@ bool DmaPusher::Step() {
// Push buffer non-empty, read a word
command_headers.resize(command_list_header.size);
- gpu.MemoryManager().ReadBlock(dma_get, command_headers.data(),
- command_list_header.size * sizeof(u32));
+ gpu.MemoryManager().ReadBlockUnsafe(dma_get, command_headers.data(),
+ command_list_header.size * sizeof(u32));
for (const CommandHeader& command_header : command_headers) {