mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-10 00:14:32 +00:00
FullscreenUI: Only delete sound stream on full shutdown
Not when changing renderers.
This commit is contained in:
@@ -458,10 +458,10 @@ void FullscreenUI::ReturnToMainWindow(float transition_time)
|
||||
|
||||
void FullscreenUI::Shutdown(bool clear_state)
|
||||
{
|
||||
SoundEffectManager::Shutdown();
|
||||
|
||||
if (clear_state)
|
||||
{
|
||||
SoundEffectManager::Shutdown();
|
||||
|
||||
s_locals.current_main_window = MainWindowType::None;
|
||||
s_locals.current_pause_submenu = PauseSubMenu::None;
|
||||
s_locals.pause_menu_was_open = false;
|
||||
|
||||
Reference in New Issue
Block a user