mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
UI: Suppress state slot switch preview during boot.
Boot may change the slot if the game has game-specific settings, but we shouldn't show the preview. Should fix #8916.
This commit is contained in:
1 parent
e4b0f295b2
commit
a3efa99cd4
1 file changed
+3
-1
+3
-1
@@ -202,6 +202,8 @@ void EmuScreen::bootComplete() {
|
||||
}
|
||||
|
||||
System_SendMessage("event", "startgame");
|
||||
|
||||
saveStateSlot_ = SaveState::GetCurrentSlot();
|
||||
}
|
||||
|
||||
EmuScreen::~EmuScreen() {
|
||||
@@ -804,7 +806,7 @@ void EmuScreen::update(InputState &input) {
|
||||
screenManager()->push(new GamePauseScreen(gamePath_));
|
||||
}
|
||||
|
||||
if (saveStatePreview_) {
|
||||
if (saveStatePreview_ && !bootPending_) {
|
||||
int currentSlot = SaveState::GetCurrentSlot();
|
||||
if (saveStateSlot_ != currentSlot) {
|
||||
saveStateSlot_ = currentSlot;
|
||||
|
||||
Reference in new issue
Block a user