subsystem part 2: add missing define, fix typo

This commit is contained in:
radius 2018-02-10 20:49:23 -05:00
parent 1951adeb5b
commit 692c8683b2
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@
#ifndef __RARCH_MISCELLANEOUS_H
#define __RARCH_MISCELLANEOUS_H
#define RARCH_MAX_SUBSYSTEMS 10
#define RARCH_MAX_SUBSYSTEM_ROMS 10
#include <stdint.h>
#include <boolean.h>
#include <retro_inline.h>

View File

@ -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);