Revert "Revert "ozone: Fix subsystem_data being undefined""

This commit is contained in:
Twinaphex 2018-11-28 06:11:08 +01:00 committed by GitHub
parent e400c73636
commit 34fe9205db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -589,8 +589,7 @@ static int ozone_list_push(void *data, void *userdata,
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];