mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
savestate vertexmanager (base) since it affects VertexLoader::RunVertices which affects g_pVideoData
This commit is contained in:
parent
ae242e5675
commit
99b202fd2e
5 changed files with 39 additions and 8 deletions
|
@ -308,3 +308,20 @@ shader_fail:
|
|||
ResetBuffer();
|
||||
}
|
||||
#endif
|
||||
|
||||
void VertexManager::DoState(PointerWrap& p)
|
||||
{
|
||||
g_vertex_manager->vDoState(p);
|
||||
}
|
||||
|
||||
void VertexManager::DoStateShared(PointerWrap& p)
|
||||
{
|
||||
p.DoPointer(s_pCurBufferPointer, LocalVBuffer);
|
||||
p.DoArray(LocalVBuffer, MAXVBUFFERSIZE);
|
||||
p.DoArray(TIBuffer, MAXIBUFFERSIZE);
|
||||
p.DoArray(LIBuffer, MAXIBUFFERSIZE);
|
||||
p.DoArray(PIBuffer, MAXIBUFFERSIZE);
|
||||
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
Flushed = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue