diff --git a/rpcs3/Emu/RSX/GL/GLVertexProgram.cpp b/rpcs3/Emu/RSX/GL/GLVertexProgram.cpp index 186c70ed29..7a0b3f3e81 100644 --- a/rpcs3/Emu/RSX/GL/GLVertexProgram.cpp +++ b/rpcs3/Emu/RSX/GL/GLVertexProgram.cpp @@ -562,7 +562,9 @@ void GLVertexDecompilerThread::Task() m_instr_count++; if (i < m_data.size()) + { LOG_ERROR(RSX, "Program end before buffer end."); + } break; } @@ -739,17 +741,6 @@ void GLVertexDecompilerThread::Task() Emu.Pause(); break; } - - if (d3.end) - { - m_instr_count++; - - if (i < m_data.size()) - { - LOG_ERROR(RSX, "Program end before buffer end."); - } - break; - } } if (is_has_BRA || !m_jump_lvls.empty())