Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #3815 from FernandoS27/command-list-2

bunneia1d3586e606f
diff --cc src/video_core/engines/maxwell_3d.cpp
index 7db055ea0d,264edaa028..33936e2091
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@@ -184,12 -182,8 +182,12 @@@ void Maxwell3D::CallMethod(u32 method,
}
switch (method) {
+ case MAXWELL3D_REG_INDEX(wait_for_idle): {
+ rasterizer.WaitForIdle();
+ break;
+ }
case MAXWELL3D_REG_INDEX(shadow_ram_control): {
- shadow_state.shadow_ram_control = static_cast<Regs::ShadowRamControl>(method_call.argument);
+ shadow_state.shadow_ram_control = static_cast<Regs::ShadowRamControl>(method_argument);
break;
}
case MAXWELL3D_REG_INDEX(macros.data): {