mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
VideoCommon: don't save streaming fifos into savestate
This commit is contained in:
@ -248,17 +248,3 @@ void VertexManager::DoState(PointerWrap& p)
|
|||||||
{
|
{
|
||||||
g_vertex_manager->vDoState(p);
|
g_vertex_manager->vDoState(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VertexManager::DoStateShared(PointerWrap& p)
|
|
||||||
{
|
|
||||||
// It seems we half-assume to be flushed here
|
|
||||||
// We update s_pCurBufferPointer yet don't worry about IndexGenerator's outdated pointers
|
|
||||||
// and maybe other things are overlooked
|
|
||||||
|
|
||||||
p.Do(LocalVBuffer);
|
|
||||||
p.Do(LocalIBuffer);
|
|
||||||
|
|
||||||
s_pBaseBufferPointer = &LocalVBuffer[0];
|
|
||||||
s_pEndBufferPointer = s_pBaseBufferPointer + LocalVBuffer.size();
|
|
||||||
p.DoPointer(s_pCurBufferPointer, s_pBaseBufferPointer);
|
|
||||||
}
|
|
||||||
|
@ -54,8 +54,7 @@ protected:
|
|||||||
u16* GetIndexBuffer() { return &LocalIBuffer[0]; }
|
u16* GetIndexBuffer() { return &LocalIBuffer[0]; }
|
||||||
u8* GetVertexBuffer() { return &s_pBaseBufferPointer[0]; }
|
u8* GetVertexBuffer() { return &s_pBaseBufferPointer[0]; }
|
||||||
|
|
||||||
virtual void vDoState(PointerWrap& p) { DoStateShared(p); }
|
virtual void vDoState(PointerWrap& p) { }
|
||||||
void DoStateShared(PointerWrap& p);
|
|
||||||
|
|
||||||
static PrimitiveType current_primitive_type;
|
static PrimitiveType current_primitive_type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user