Those option lists should be terminated with a NULL-NULL pair.

This commit is contained in:
Alcaro 2016-09-01 21:47:57 +02:00
parent fd7949c9f1
commit 3394162098
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ enumerate_audio_devices(char *buf, size_t buflen)
RETRO_API void VIDEOPROC_CORE_PREFIX(retro_set_environment)(retro_environment_t cb)
{
struct retro_variable envvars[2] = { NULL };
struct retro_variable envvars[3] = { NULL };
char video_devices[ENVVAR_BUFLEN];
char audio_devices[ENVVAR_BUFLEN];