diff --git a/libretro-common/include/retro_miscellaneous.h b/libretro-common/include/retro_miscellaneous.h index e526d6ebc2..23f9ef02ac 100644 --- a/libretro-common/include/retro_miscellaneous.h +++ b/libretro-common/include/retro_miscellaneous.h @@ -23,6 +23,9 @@ #ifndef __RARCH_MISCELLANEOUS_H #define __RARCH_MISCELLANEOUS_H +#define RARCH_MAX_SUBSYSTEMS 10 +#define RARCH_MAX_SUBSYSTEM_ROMS 10 + #include #include #include diff --git a/menu/widgets/menu_filebrowser.c b/menu/widgets/menu_filebrowser.c index 9431280080..bcfec67fa7 100644 --- a/menu/widgets/menu_filebrowser.c +++ b/menu/widgets/menu_filebrowser.c @@ -91,7 +91,7 @@ void filebrowser_parse(void *data, unsigned type_data) subsystem = system->subsystem.data + pending_subsystem; if (subsystem && pending_subsystem_rom_id < subsystem->num_roms) { - RARCH_LOG("[subsystem] valid xtensions: %s\n", subsystem->roms[pending_subsystem_rom_id].valid_extensions); + RARCH_LOG("[subsystem] valid extensions: %s\n", subsystem->roms[pending_subsystem_rom_id].valid_extensions); str_list = dir_list_new(path, (filter_ext && info) ? subsystem->roms[pending_subsystem_rom_id].valid_extensions : NULL, true, settings->bools.show_hidden_files, true, false);