mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 06:45:45 -04:00
GPU: Fix incorrect polyline terminator check
Fixes Gran Turismo 2, maybe others.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user