vsuni: simplify game database and other fixes

- simplify game database
- remove pre-configured core options. they are now created on a per-game basis on rom load.
- some minor data type changes
This commit is contained in:
retro-wertz
2019-05-21 20:29:53 +08:00
parent b4c8e40ef1
commit e654ed305c
3 changed files with 294 additions and 641 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
#include <libretro.h>
void set_dipswitch_variables(unsigned *index, struct retro_variable vars[]);
void set_dipswitch_variables(unsigned *index, struct retro_variable *vars);
void update_dipswitch(void);
extern retro_environment_t environ_cb;

View File

@@ -784,7 +784,7 @@ static void set_variables(void)
}
/* append dipswitches to core options if available */
set_dipswitch_variables(&index_core, &retro_vars[0]);
set_dipswitch_variables(&index_core, retro_vars);
/* NULL terminate */
retro_vars[index_core] = vars_empty;