mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
VideoCommon: clean up VertexLoader
This commit is contained in:
parent
02cdb41d3d
commit
3fc7e55cc4
7 changed files with 45 additions and 33 deletions
|
@ -275,13 +275,17 @@ u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!VertexLoaderManager::RunVertices(
|
||||
int bytes = VertexLoaderManager::RunVertices(
|
||||
cmd_byte & GX_VAT_MASK, // Vertex loader index (0 - 7)
|
||||
(cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT,
|
||||
num_vertices,
|
||||
src,
|
||||
g_bSkipCurrentFrame))
|
||||
g_bSkipCurrentFrame);
|
||||
|
||||
if (bytes < 0)
|
||||
goto end;
|
||||
else
|
||||
src.Skip(bytes);
|
||||
}
|
||||
totalCycles += 1600;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue