diff options
| author | 2020-03-22 12:02:54 +0700 | |
|---|---|---|
| committer | 2020-03-22 12:02:54 +0700 | |
| commit | 22f4268c2fbb8ca620b7eb18f98cf277537de6fc (patch) | |
| tree | 08de10a95cd61d6a2807841d0e966c706a8a3289 /src | |
| parent | maxwell_3d: update comments for shadow ram usage (diff) | |
| download | yuzu-22f4268c2fbb8ca620b7eb18f98cf277537de6fc.tar.gz yuzu-22f4268c2fbb8ca620b7eb18f98cf277537de6fc.tar.xz yuzu-22f4268c2fbb8ca620b7eb18f98cf277537de6fc.zip | |
maxwell_3d: this seem more correct.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 7a3e21c6b..793ecedd2 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -161,8 +161,8 @@ void Maxwell3D::CallMethod(const GPU::MethodCall& method_call) { | |||
| 161 | "Invalid Maxwell3D register, increase the size of the Regs structure"); | 161 | "Invalid Maxwell3D register, increase the size of the Regs structure"); |
| 162 | 162 | ||
| 163 | // Keep track of the register value in shadow_state when requested. | 163 | // Keep track of the register value in shadow_state when requested. |
| 164 | if (regs.shadow_ram_control == Regs::ShadowRamControl::Track || | 164 | if (shadow_state.shadow_ram_control == Regs::ShadowRamControl::Track || |
| 165 | regs.shadow_ram_control == Regs::ShadowRamControl::TrackWithFilter) { | 165 | shadow_state.shadow_ram_control == Regs::ShadowRamControl::TrackWithFilter) { |
| 166 | shadow_state.reg_array[method] = method_call.argument; | 166 | shadow_state.reg_array[method] = method_call.argument; |
| 167 | } | 167 | } |
| 168 | 168 | ||