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

@ -57,6 +57,11 @@ CPReg cpreg; // shared between gfx and emulator thread
void DoState(PointerWrap &p)
{
p.Do(cpreg);
p.Do(readPos);
p.Do(writePos);
p.Do(et_UpdateInterrupts);
p.Do(interruptSet);
p.Do(interruptWaiting);
}
// does it matter that there is no synchronization between threads during writes?