mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 06:18:03 +03:00
Uber-fast stop (thanks to smart memory card flushing) and various savestate changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3659 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3ddbb094ab
commit
06b65ea425
10 changed files with 83 additions and 18 deletions
|
@ -266,10 +266,28 @@ void Shutdown(void)
|
|||
|
||||
void DoState(unsigned char **ptr, int mode)
|
||||
{
|
||||
PointerWrap p(ptr, mode);
|
||||
|
||||
return;
|
||||
|
||||
// TODO: Shorten the list
|
||||
//p.Do(g_EmulatorRunning);
|
||||
//p.Do(g_ISOId);
|
||||
p.Do(g_FrameOpen);
|
||||
p.Do(g_RealWiiMotePresent);
|
||||
p.Do(g_RealWiiMoteInitialized);
|
||||
p.Do(g_EmulatedWiiMoteInitialized);
|
||||
p.Do(g_WiimoteUnexpectedDisconnect);
|
||||
p.Do(g_UpdateCounter);
|
||||
p.Do(g_UpdateTime);
|
||||
p.Do(g_UpdateRate);
|
||||
p.Do(g_UpdateWriteScreen);
|
||||
p.Do(g_UpdateTimeList);
|
||||
|
||||
#if HAVE_WIIUSE
|
||||
WiiMoteReal::DoState(ptr, mode);
|
||||
WiiMoteReal::DoState(p);
|
||||
#endif
|
||||
WiiMoteEmu::DoState(ptr, mode);
|
||||
WiiMoteEmu::DoState(p);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue