State saving is now consistent with the Zelda UCode. We can now save, load, and still hear sound

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3503 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2009-06-20 10:24:49 +00:00
parent 4292962ea2
commit 22a6533f7f
4 changed files with 19 additions and 0 deletions

View File

@ -783,3 +783,17 @@ int CUCode_Zelda::DumpAFC(u8* pIn, const int size, const int srate)
}
void CUCode_Zelda::DoState(PointerWrap &p) {
p.Do(m_MailState);
p.Do(m_PBMask);
p.Do(m_NumPBs);
p.Do(m_PBAddress);
p.Do(m_MaxSyncedPB);
p.Do(m_PBs);
p.Do(m_readOffset);
p.Do(m_NumberOfFramesToRender);
p.Do(m_CurrentFrameToRender);
p.Do(m_numSteps);
p.Do(m_step);
p.Do(m_Buffer);
}