From 36f2082a5f50da83035c1f6a3be059f018d3299b Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 20 Feb 2013 23:38:25 +1100 Subject: [PATCH] Made vertex loading take constant time. Fixes a hang in Gladius. --- Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp index c7764dba71..bb6c555c07 100644 --- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp @@ -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 {