diff --git a/rpcs3/Emu/RSX/rsx_utils.h b/rpcs3/Emu/RSX/rsx_utils.h index a47b6122ac..7faf46b265 100644 --- a/rpcs3/Emu/RSX/rsx_utils.h +++ b/rpcs3/Emu/RSX/rsx_utils.h @@ -299,7 +299,7 @@ namespace rsx for (int i = 0; i < index_count; ++i) { - if (indices[i] == UINT16_MAX) + if (indices[i] == restart_index) { if (last_start >= 0) {