mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Begin implementing save states to video software. Kind of works, sometimes.
This commit is contained in:
parent
e5c53e371f
commit
415a2f17c9
10 changed files with 59 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue