From d24f9194f7fe7866575898684ec4b1bed60e1075 Mon Sep 17 00:00:00 2001 From: elad Date: Thu, 13 Sep 2018 08:45:57 +0300 Subject: [PATCH] typo fix shader's location is decremented by one to match cellGcm's constants. --- rpcs3/Emu/RSX/RSXThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 9294688fdf..93bb8eea42 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -389,7 +389,7 @@ namespace rsx on_init_thread(); // Special value in initialization, this is not set by a context reset - method_registers.registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | CELL_GCM_LOCATION_LOCAL; + method_registers.registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | CELL_GCM_LOCATION_LOCAL + 1; reset(); if (!zcull_ctrl)