mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-17 11:37:33 +01:00
DMA Pusher: Fix regression caused by guest memory optimizations
This commit is contained in:
parent
bc4e58eb51
commit
8beda6a2bf
@ -83,6 +83,14 @@ bool DmaPusher::Step() {
|
||||
dma_state.dma_get, command_list_header.size * sizeof(u32));
|
||||
}
|
||||
}
|
||||
if (Settings::IsGPULevelHigh() && dma_state.method < MacroRegistersStart) {
|
||||
Core::Memory::GpuGuestMemory<Tegra::CommandHeader,
|
||||
Core::Memory::GuestMemoryFlags::SafeRead>
|
||||
headers(memory_manager, dma_state.dma_get, command_list_header.size,
|
||||
&command_headers);
|
||||
ProcessCommands(headers);
|
||||
return true;
|
||||
}
|
||||
Core::Memory::GpuGuestMemory<Tegra::CommandHeader,
|
||||
Core::Memory::GuestMemoryFlags::UnsafeRead>
|
||||
headers(memory_manager, dma_state.dma_get, command_list_header.size, &command_headers);
|
||||
|
Loading…
Reference in New Issue
Block a user