Begin implementing save states to video software. Kind of works, sometimes.

This commit is contained in:
Rachel Bryk
2013-02-25 20:05:02 -05:00
parent e5c53e371f
commit 415a2f17c9
10 changed files with 59 additions and 4 deletions

View File

@ -46,6 +46,18 @@ static bool inObjectStream;
static u8 lastPrimCmd;
void DoState(PointerWrap &p)
{
p.Do(minCommandSize);
vertexLoader.DoState(p);
p.Do(streamSize);
p.Do(streamAddress);
p.Do(readOpcode);
p.Do(inObjectStream);
p.Do(lastPrimCmd);
//p.Do(currentFunction);
}
void DecodePrimitiveStream(u32 iBufferSize)
{
u32 vertexSize = vertexLoader.GetVertexSize();