video_core: Use safe memory reads for KeplerCompute inline methods

Changes:
- Remove special case for KeplerCompute inline methods that used unsafe reads in high
  accuracy mode
- Add special case to use safe reads for KeplerCompute inline methods even in normal
  accuracy mode

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-05-11 16:26:59 +10:00
parent 54f2b4442e
commit 9bb2b769a4

View File

@@ -103,11 +103,12 @@ bool DmaPusher::Step() {
unsafe_process();
return true;
}
if (subchannel_type[dma_state.subchannel] == Engines::EngineTypes::KeplerCompute &&
dma_state.method == ComputeInline) {
unsafe_process();
return true;
}
safe_process();
return true;
}
// Even in normal accuracy, use safe reads for KeplerCompute inline methods
if (subchannel_type[dma_state.subchannel] == Engines::EngineTypes::KeplerCompute &&
dma_state.method == ComputeInline) {
safe_process();
return true;
}