mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-02 22:01:31 -05:00
Begin implementing save states to video software. Kind of works, sometimes.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user