diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-11-17 16:36:53 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-01 22:43:57 +0100 |
commit | 18637766efd1ff9a0c22967553983cfda69c96ca (patch) | |
tree | 142d4cab2de27ce250d246f0355fec97748a7bcf /src/video_core/dma_pusher.cpp | |
parent | MacroHLE: Add HLE replacement for base vertex and base instance. (diff) | |
download | yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar.gz yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar.bz2 yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar.lz yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar.xz yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.tar.zst yuzu-18637766efd1ff9a0c22967553983cfda69c96ca.zip |
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
-rw-r--r-- | src/video_core/dma_pusher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp index 5ad40abaa..7a82355da 100644 --- a/src/video_core/dma_pusher.cpp +++ b/src/video_core/dma_pusher.cpp @@ -75,7 +75,8 @@ bool DmaPusher::Step() { // Push buffer non-empty, read a word command_headers.resize_destructive(command_list_header.size); - if (Settings::IsGPULevelExtreme()) { + constexpr u32 MacroRegistersStart = 0xE00; + if (dma_state.method < MacroRegistersStart) { memory_manager.ReadBlock(dma_state.dma_get, command_headers.data(), command_list_header.size * sizeof(u32)); } else { |