SaveStateSelectorUI: Fix loading/saving without popup

This commit is contained in:
Connor McLaughlin
2022-07-31 17:33:03 +10:00
parent 20e2c39c0d
commit 3505ca26e0
5 changed files with 92 additions and 71 deletions

View File

@ -137,7 +137,7 @@ bool CommonHost::CreateHostDisplayResources()
void CommonHost::ReleaseHostDisplayResources()
{
//
SaveStateSelectorUI::DestroyTextures();
}
std::unique_ptr<AudioStream> Host::CreateAudioStream(AudioBackend backend, u32 sample_rate, u32 channels, u32 buffer_ms,
@ -225,6 +225,7 @@ void CommonHost::OnSystemDestroyed()
{
Host::ClearOSDMessages();
SaveStateSelectorUI::Close(true);
FullscreenUI::OnSystemDestroyed();
InputManager::PauseVibration();
@ -240,10 +241,7 @@ void CommonHost::OnGameChanged(const std::string& disc_path, const std::string&
UpdateDiscordPresence(false);
#endif
#ifdef WITH_CHEEVOS
// if (Cheevos::IsLoggedIn())
// Cheevos::GameChanged(path, image);
#endif
SaveStateSelectorUI::RefreshList();
}
void CommonHost::SetDefaultSettings(SettingsInterface& si)