Merge pull request #1973 from degasus/master

OpcodeDecoder: Calculate decoding time for vertices
This commit is contained in:
skidau 2015-01-30 12:58:52 +11:00
commit b92eb03d26
1 changed files with 3 additions and 1 deletions

View File

@ -287,7 +287,9 @@ u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list)
else
src.Skip(bytes);
}
totalCycles += 1600;
// 4 GPU ticks per vertex, 3 CPU ticks per GPU tick
totalCycles += num_vertices * 4 * 3 + 6;
}
else
{