Increased the cycle time of the vertex command. Fixes "Speed Challenge: Jacques Villeneuve's Racing Vision".
This commit is contained in:
parent
45efced280
commit
0e2c3f3483
|
@ -184,7 +184,7 @@ void RunGpuLoop()
|
|||
|
||||
cyclesExecuted = OpcodeDecoder_Run(g_bSkipCurrentFrame);
|
||||
|
||||
if (Common::AtomicLoad(CommandProcessor::VITicks) > cyclesExecuted && Core::g_CoreStartupParameter.bSyncGPU)
|
||||
if (Common::AtomicLoad(CommandProcessor::VITicks) > cyclesExecuted && Core::g_CoreStartupParameter.bSyncGPU)
|
||||
Common::AtomicAdd(CommandProcessor::VITicks, -(s32)cyclesExecuted);
|
||||
|
||||
Common::AtomicStore(fifo.CPReadPointer, readPtr);
|
||||
|
|
|
@ -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 = 12 * numVertices; // This depends on the number of pixels rendered
|
||||
cycleTime = 393 * numVertices; // This depends on the number of pixels rendered
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue