mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 19:17:59 -05:00
Use ReadBlockUnsafe for fetyching DMA CommandLists
This commit is contained in:
committed by
FernandoS27
parent
06d1c5a991
commit
13d626fc21
@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user