diff options
| author | bunnei <bunneidev@gmail.com> | 2019-04-22 17:09:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-22 17:09:00 -0400 |
| commit | 68b707711a521f7987e1abcd1661b4575e3d270d (patch) | |
| tree | af22e59d157b8b7a3e6260ca820aba3613197518 /src/video_core/dma_pusher.cpp | |
| parent | 01100f8afdc22cfcc0b94b86b7e352a41120b8d9 (diff) | |
| parent | db4b2bc798388fd22d3ea60eb82c5f894b2b3506 (diff) | |
Merge pull request #2411 from FernandoS27/unsafe-gpu
GPU Manager: Implement ReadBlockUnsafe and WriteBlockUnsafe
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
| -rw-r--r-- | src/video_core/dma_pusher.cpp | 4 |
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) { |
