mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 23:31:40 +00:00
OpcodeDecoding: Get vertex size from the loader
This commit is contained in:
parent
a6c6ec012c
commit
2db74e7f21
5 changed files with 29 additions and 2 deletions
|
@ -228,6 +228,12 @@ public:
|
|||
return g_main_cp_state;
|
||||
}
|
||||
|
||||
OPCODE_CALLBACK(u32 GetVertexSize(u8 vat))
|
||||
{
|
||||
VertexLoaderBase* loader = VertexLoaderManager::RefreshLoader<is_preprocess>(vat);
|
||||
return loader->m_vertex_size;
|
||||
}
|
||||
|
||||
u32 m_cycles = 0;
|
||||
bool m_in_display_list = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue