Added save/load state support in the UI

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@375 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2008-08-28 21:30:13 +00:00
parent 1716ef46bb
commit 2e760d69fe
6 changed files with 77 additions and 18 deletions

View File

@ -413,11 +413,15 @@ EState GetState()
}
void SaveState() {
CCPU::EnableStepping(true);
State_Save("state.dlp");
CCPU::EnableStepping(false);
}
void LoadState() {
CCPU::EnableStepping(true);
State_Load("state.dlp");
CCPU::EnableStepping(false);
}
const SCoreStartupParameter& GetStartupParameter()