diff options
| author | skidau <skidau@gmail.com> | 2013-02-20 23:38:25 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2013-02-20 23:38:25 +1100 |
| commit | 36f2082a5f50da83035c1f6a3be059f018d3299b (patch) | |
| tree | d183e1fabc20a2e88c31911924fb767f23af57f7 /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | |
| parent | 351c74190689368e463c42da4cf49a3df2d40ee5 (diff) | |
Made vertex loading take constant time. Fixes a hang in Gladius.
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/OpcodeDecoding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
