VideoCommon: don't save streaming fifos into savestate
This commit is contained in:
parent
ff002320a5
commit
62f1905978
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue