subsystem part 2: add missing define, fix typo
This commit is contained in:
parent
1951adeb5b
commit
692c8683b2
|
@ -23,6 +23,9 @@
|
||||||
#ifndef __RARCH_MISCELLANEOUS_H
|
#ifndef __RARCH_MISCELLANEOUS_H
|
||||||
#define __RARCH_MISCELLANEOUS_H
|
#define __RARCH_MISCELLANEOUS_H
|
||||||
|
|
||||||
|
#define RARCH_MAX_SUBSYSTEMS 10
|
||||||
|
#define RARCH_MAX_SUBSYSTEM_ROMS 10
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include <retro_inline.h>
|
#include <retro_inline.h>
|
||||||
|
|
|
@ -91,7 +91,7 @@ void filebrowser_parse(void *data, unsigned type_data)
|
||||||
subsystem = system->subsystem.data + pending_subsystem;
|
subsystem = system->subsystem.data + pending_subsystem;
|
||||||
if (subsystem && pending_subsystem_rom_id < subsystem->num_roms)
|
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,
|
str_list = dir_list_new(path,
|
||||||
(filter_ext && info) ? subsystem->roms[pending_subsystem_rom_id].valid_extensions : NULL,
|
(filter_ext && info) ? subsystem->roms[pending_subsystem_rom_id].valid_extensions : NULL,
|
||||||
true, settings->bools.show_hidden_files, true, false);
|
true, settings->bools.show_hidden_files, true, false);
|
||||||
|
|
Loading…
Reference in New Issue