ozone: Fix subsystem_data being undefined

subsystem_data was not defined, seemed like a declaration of subsystem was in the wrong place.
This commit is contained in:
Rob Loach 2018-11-27 13:19:50 -05:00 committed by GitHub
parent 02e7b16461
commit e15dd10237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -587,12 +587,9 @@ static int ozone_list_push(void *data, void *userdata,
entry.enum_idx = MENU_ENUM_LABEL_LOAD_CONTENT_LIST;
menu_displaylist_setting(&entry);
subsystem = system->subsystem.data;
if (subsystem_size > 0)
{
const struct retro_subsystem_info* subsystem = NULL;
subsystem = subsystem_data;
const struct retro_subsystem_info* subsystem = system->subsystem.data;
for (i = 0; i < subsystem_size; i++, subsystem++)
{
char s[PATH_MAX_LENGTH];