1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Audio output menu item reinit fix (#15190)

This commit is contained in:
sonninnos 2023-04-14 08:18:21 +03:00 committed by GitHub
parent 07c371533f
commit e2a264700a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -609,6 +609,8 @@ bool audio_driver_init_internal(
audio_driver_st.flags &= ~AUDIO_FLAG_ACTIVE;
return false;
}
else
audio_driver_st.flags |= AUDIO_FLAG_ACTIVE;
if (!(audio_driver_find_driver(settings,
"audio driver", verbosity_enabled)))

View File

@ -13568,6 +13568,7 @@ static bool setting_append_list(
general_read_handler,
SD_FLAG_NONE
);
MENU_SETTINGS_LIST_CURRENT_ADD_CMD(list, list_info, CMD_EVENT_AUDIO_REINIT);
CONFIG_BOOL(
list, list_info,