diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-26 22:00:43 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-26 22:00:43 +0200 |
commit | 8beda6a2bf4da0c9673a0532d8e80c9e5e534ced (patch) | |
tree | e8cf119ade45e7e459cb4227122e318e5fa0b12e | |
parent | Merge pull request #11377 from BenjaminHalko/reverse-slider-input (diff) | |
download | yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar.gz yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar.bz2 yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar.lz yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar.xz yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.tar.zst yuzu-8beda6a2bf4da0c9673a0532d8e80c9e5e534ced.zip |
-rw-r--r-- | src/video_core/dma_pusher.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp index 9f1b340a9..ab28951b6 100644 --- a/src/video_core/dma_pusher.cpp +++ b/src/video_core/dma_pusher.cpp @@ -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); |