Made vertex loading take constant time. Fixes a hang in Gladius.

This commit is contained in:
skidau 2013-02-20 23:38:25 +11:00
parent 351c741906
commit 36f2082a5f
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ u32 FifoCommandRunnable(u32 &command_size)
command_size = 1 + 2;
u16 numVertices = DataPeek16(1);
command_size += numVertices * VertexLoaderManager::GetVertexSize(cmd_byte & GX_VAT_MASK);
cycleTime = 393 * numVertices; // This depends on the number of pixels rendered
cycleTime = 1600; // This depends on the number of pixels rendered
}
else
{