From 692c8683b26de8ad543d73e413ca248339985bfe Mon Sep 17 00:00:00 2001 From: radius Date: Sat, 10 Feb 2018 20:49:23 -0500 Subject: [PATCH] subsystem part 2: add missing define, fix typo --- libretro-common/include/retro_miscellaneous.h | 3 +++ menu/widgets/menu_filebrowser.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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);