Use ReadBlockUnsafe for fetyching DMA CommandLists

This commit is contained in:
Fernando Sahmkow 2019-04-16 10:19:52 -04:00 committed by FernandoS27
parent 06d1c5a991
commit 13d626fc21
2 changed files with 2 additions and 4 deletions

View file

@ -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) {