GPU: Fix incorrect polyline terminator check
Fixes Gran Turismo 2, maybe others.
This commit is contained in:
parent
a9109c7552
commit
f13cfce34d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue