summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-08-26 22:00:43 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-08-26 22:00:43 +0200
commit8beda6a2bf4da0c9673a0532d8e80c9e5e534ced (patch)
treee8cf119ade45e7e459cb4227122e318e5fa0b12e /src/video_core
parentMerge pull request #11377 from BenjaminHalko/reverse-slider-input (diff)
downloadyuzu-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
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/dma_pusher.cpp8
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);