mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
config_get_audio_driver_options - cleanups
This commit is contained in:
parent
f45ec7f911
commit
85510aeec0
@ -180,6 +180,9 @@ const char* config_get_audio_driver_options(void)
|
|||||||
|
|
||||||
attr.i = 0;
|
attr.i = 0;
|
||||||
|
|
||||||
|
if (!options_l)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
for (i = 0; audio_driver_find_handle(i); i++)
|
for (i = 0; audio_driver_find_handle(i); i++)
|
||||||
{
|
{
|
||||||
const char *opt = audio_driver_find_ident(i);
|
const char *opt = audio_driver_find_ident(i);
|
||||||
@ -192,6 +195,7 @@ const char* config_get_audio_driver_options(void)
|
|||||||
if (!options)
|
if (!options)
|
||||||
{
|
{
|
||||||
string_list_free(options_l);
|
string_list_free(options_l);
|
||||||
|
options_l = NULL;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user