Save the savedata and other dialog state.

Although, hopefully it wouldn't be running anyway.
This commit is contained in:
Unknown W. Brackets committed 2012-12-28 13:55:31 -08:00
1 parent bcecd881b1
commit fd2f609367
13 files changed
+88 -11

No files matched your search

+8
View File
@@ -64,6 +64,14 @@ int PSPDialog::Update()
return 0;
}
void PSPDialog::DoState(PointerWrap &p)
{
p.Do(status);
p.Do(lastButtons);
p.Do(buttons);
p.DoMarker("PSPDialog");
}
bool PSPDialog::IsButtonPressed(int checkButton)
{
return (!(lastButtons & checkButton)) && (buttons & checkButton);