diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index 105ae7f701..04844ec618 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -895,12 +895,12 @@ namespace rsx namespace nv308a { - template struct color { - static void impl(thread* rsx, u32 /*reg*/, u32 /*arg*/) + static void impl(thread* rsx, u32 reg, u32) { const u32 out_x_max = method_registers.nv308a_size_out_x(); + const u32 index = reg - NV308A_COLOR; if (index >= out_x_max) { @@ -3338,13 +3338,7 @@ namespace rsx bind_array>(); //NV308A (0xa400..0xbffc!) - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); + bind_array(); //NV3089 bind();