mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
OpcodeDecoder: Calculate decoding time for vertices
This commit is contained in:
parent
a2b872b9da
commit
20628b6e5d
1 changed files with 3 additions and 1 deletions
|
@ -287,7 +287,9 @@ u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list)
|
||||||
else
|
else
|
||||||
src.Skip(bytes);
|
src.Skip(bytes);
|
||||||
}
|
}
|
||||||
totalCycles += 1600;
|
|
||||||
|
// 4 GPU ticks per vertex, 3 CPU ticks per GPU tick
|
||||||
|
totalCycles += num_vertices * 4 * 3 + 6;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue