mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-23 20:33:41 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user