Savestate dialogs properly, avoiding wrong status.

Might cause a crash if the status is set wrong due to a fade.
Fixes #2047.
This commit is contained in:
Unknown W. Brackets 2013-06-03 02:05:45 -07:00
parent e0f05ec382
commit 0a46e982f4

View File

@ -112,6 +112,10 @@ void PSPDialog::DoState(PointerWrap &p)
p.Do(status);
p.Do(lastButtons);
p.Do(buttons);
p.Do(fadeTimer);
p.Do(isFading);
p.Do(fadeIn);
p.Do(fadeValue);
p.DoMarker("PSPDialog");
}