mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Made vertex loading take constant time. Fixes a hang in Gladius.
This commit is contained in:
parent
351c741906
commit
36f2082a5f
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user