mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 23:31:40 +00:00
Merge branch 'VideoSoftware-savestates'
This commit is contained in:
commit
0c16489c39
21 changed files with 203 additions and 12 deletions
|
@ -57,6 +57,15 @@ CPReg cpreg; // shared between gfx and emulator thread
|
|||
void DoState(PointerWrap &p)
|
||||
{
|
||||
p.Do(cpreg);
|
||||
p.DoArray(commandBuffer, commandBufferSize);
|
||||
p.Do(readPos);
|
||||
p.Do(writePos);
|
||||
p.Do(et_UpdateInterrupts);
|
||||
p.Do(interruptSet);
|
||||
p.Do(interruptWaiting);
|
||||
|
||||
// Is this right?
|
||||
p.DoArray(g_pVideoData,writePos);
|
||||
}
|
||||
|
||||
// does it matter that there is no synchronization between threads during writes?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue