mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00: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:
parent
e4b0f295b2
commit
a3efa99cd4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user