diff --git a/src/core/gpu_commands.cpp b/src/core/gpu_commands.cpp index 8006f9c39..ec634e439 100644 --- a/src/core/gpu_commands.cpp +++ b/src/core/gpu_commands.cpp @@ -257,7 +257,7 @@ bool GPU::HandleRenderCommand(const u32*& command_ptr, u32 command_size) bool found_terminator = false; for (u32 pos = 2; pos < command_size; pos += words_per_vertex) { - if (command_ptr[pos] == 0x55555555) + if ((command_ptr[pos] & UINT32_C(0xF000F000)) == UINT32_C(0x50005000)) { found_terminator = true; break;