Silence warning and fix missing NULL terminators on core option struct

- silence warning: missing braces around initializer [-Wmissing-braces]
This commit is contained in:
retro-wertz
2019-08-01 20:02:17 +08:00
parent 0a0fdb8c2b
commit 313f69daaf
2 changed files with 51 additions and 41 deletions

View File

@@ -318,11 +318,11 @@ struct retro_core_option_definition option_defs_common[] = {
},
#endif
{ NULL, NULL, NULL, { NULL, NULL }, NULL },
{ NULL, NULL, NULL, { {0} }, NULL },
};
struct retro_core_option_definition option_defs_empty = {
NULL, NULL, NULL, { NULL, NULL }, NULL
NULL, NULL, NULL, { {0} }, NULL
};
struct retro_core_option_definition option_defs_us[MAX_CORE_OPTIONS];