subsystem: set the subsystem correctly

This commit is contained in:
radius 2018-06-14 16:38:27 -05:00
parent fd1c354811
commit aa35b9da46

View File

@ -1768,7 +1768,7 @@ void content_set_subsystem(unsigned idx)
{
rarch_system_info_t *system = runloop_get_system_info();
const struct retro_subsystem_info *subsystem = system ?
system->subsystem.data + pending_subsystem_id : NULL;
system->subsystem.data + idx : NULL;
pending_subsystem_id = idx;