From 0a46e982f45d94131c9d4bbedf7b413475c98830 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 3 Jun 2013 02:05:45 -0700 Subject: [PATCH] Savestate dialogs properly, avoiding wrong status. Might cause a crash if the status is set wrong due to a fade. Fixes #2047. --- Core/Dialog/PSPDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/Dialog/PSPDialog.cpp b/Core/Dialog/PSPDialog.cpp index 5420fbc590..3385f0f200 100644 --- a/Core/Dialog/PSPDialog.cpp +++ b/Core/Dialog/PSPDialog.cpp @@ -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"); }