diff --git a/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp b/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp index c927acdd0a..dbce50075a 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp +++ b/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp @@ -364,7 +364,7 @@ namespace vk inline command_buffer_chunk* get() { - return &m_cb_list[m_current_index]; + return &m_cb_list[m_current_index % Count]; } }; }