UI sound fix

This commit is contained in:
iota97 committed 2020-08-04 23:36:35 +02:00
1 parent 9f147e870b
commit c392d95c63
2 files changed
+8 -3

No files matched your search

+3 -3
View File
@@ -446,9 +446,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
g_Discord.SetPresenceMenu();
// TODO: Load these in the background instead of synchronously.
g_BackgroundAudio.LoadSamples();
// Make sure UI state is MENU.
ResetUIState();
@@ -710,6 +707,9 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
}
#endif
// TODO: Load these in the background instead of synchronously.
g_BackgroundAudio.LoadSamples();
if (!boot_filename.empty() && stateToLoad != NULL) {
SaveState::Load(stateToLoad, -1, [](SaveState::Status status, const std::string &message, void *) {
if (!message.empty() && (!g_Config.bDumpFrames || !g_Config.bDumpVideoOutput)) {