VideoCommon: don't save streaming fifos into savestate

This commit is contained in:
degasus 2014-01-23 14:27:02 +01:00
parent ff002320a5
commit 62f1905978
2 changed files with 1 additions and 16 deletions

View File

@ -248,17 +248,3 @@ void VertexManager::DoState(PointerWrap& 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);
}

View File

@ -54,8 +54,7 @@ protected:
u16* GetIndexBuffer() { return &LocalIBuffer[0]; }
u8* GetVertexBuffer() { return &s_pBaseBufferPointer[0]; }
virtual void vDoState(PointerWrap& p) { DoStateShared(p); }
void DoStateShared(PointerWrap& p);
virtual void vDoState(PointerWrap& p) { }
static PrimitiveType current_primitive_type;