diff options
| author | 2020-03-22 22:25:44 +0700 | |
|---|---|---|
| committer | 2020-03-22 22:25:44 +0700 | |
| commit | fc37672f26a6f5fb7e09874b0463682c0acf3ca5 (patch) | |
| tree | f13f4bc7a75c6ef8ba9c68e2c61f6b42cac98996 /src/video_core/macro_interpreter.cpp | |
| parent | maxwell_3d: change declaration order (diff) | |
| download | yuzu-fc37672f26a6f5fb7e09874b0463682c0acf3ca5.tar.gz yuzu-fc37672f26a6f5fb7e09874b0463682c0acf3ca5.tar.xz yuzu-fc37672f26a6f5fb7e09874b0463682c0acf3ca5.zip | |
apply replay logic to all writes. remove replay from MacroInterpreter::Send (@fincs)
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
| -rw-r--r-- | src/video_core/macro_interpreter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp index 861144c87..42031d80a 100644 --- a/src/video_core/macro_interpreter.cpp +++ b/src/video_core/macro_interpreter.cpp | |||
| @@ -328,12 +328,6 @@ void MacroInterpreter::SetMethodAddress(u32 address) { | |||
| 328 | } | 328 | } |
| 329 | 329 | ||
| 330 | void MacroInterpreter::Send(u32 value) { | 330 | void MacroInterpreter::Send(u32 value) { |
| 331 | // Use the tracked value in shadow_state when requested. | ||
| 332 | if (method_address.address < Engines::Maxwell3D::Regs::NUM_REGS && | ||
| 333 | maxwell3d.shadow_state.shadow_ram_control == | ||
| 334 | Engines::Maxwell3D::Regs::ShadowRamControl::Replay) { | ||
| 335 | value = maxwell3d.shadow_state.reg_array[method_address.address]; | ||
| 336 | } | ||
| 337 | maxwell3d.CallMethodFromMME({method_address.address, value}); | 331 | maxwell3d.CallMethodFromMME({method_address.address, value}); |
| 338 | // Increment the method address by the method increment. | 332 | // Increment the method address by the method increment. |
| 339 | method_address.address.Assign(method_address.address.Value() + | 333 | method_address.address.Assign(method_address.address.Value() + |