summaryrefslogtreecommitdiff
path: root/src/video_core/macro_interpreter.cpp
diff options
context:
space:
mode:
authorGravatar namkazy2020-03-22 11:35:26 +0700
committerGravatar namkazy2020-03-22 11:35:26 +0700
commit7051dc19020c4cc510e5ae0b490d037ae1ad9bfe (patch)
tree19371ffffa3f3e73a519bfce16415bd9480d9bdf /src/video_core/macro_interpreter.cpp
parentmarco_interpreter: write hw value when shadow ram requested (diff)
downloadyuzu-7051dc19020c4cc510e5ae0b490d037ae1ad9bfe.tar.gz
yuzu-7051dc19020c4cc510e5ae0b490d037ae1ad9bfe.tar.xz
yuzu-7051dc19020c4cc510e5ae0b490d037ae1ad9bfe.zip
maxwell_3d: update comments for shadow ram usage
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
-rw-r--r--src/video_core/macro_interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp
index 181310606..861144c87 100644
--- a/src/video_core/macro_interpreter.cpp
+++ b/src/video_core/macro_interpreter.cpp
@@ -328,7 +328,7 @@ void MacroInterpreter::SetMethodAddress(u32 address) {
328} 328}
329 329
330void MacroInterpreter::Send(u32 value) { 330void MacroInterpreter::Send(u32 value) {
331 // Use the tracked value in shadow_regs when requested. 331 // Use the tracked value in shadow_state when requested.
332 if (method_address.address < Engines::Maxwell3D::Regs::NUM_REGS && 332 if (method_address.address < Engines::Maxwell3D::Regs::NUM_REGS &&
333 maxwell3d.shadow_state.shadow_ram_control == 333 maxwell3d.shadow_state.shadow_ram_control ==
334 Engines::Maxwell3D::Regs::ShadowRamControl::Replay) { 334 Engines::Maxwell3D::Regs::ShadowRamControl::Replay) {