first incomplete pass at options

layout is done, need to polish up the frontend and emulator options and sort out the mess of input overrides
This commit is contained in:
Shaun Inman 2023-01-26 20:42:28 -05:00
parent 501aa77d14
commit 3cfd1313c6
14 changed files with 1278 additions and 179 deletions

23
src/minarch/overrides.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef OVERRIDES_H
#define OVERRIDES_H
typedef struct OptionOverride {
char* key;
char* value;
int disable; // hides from user
} OptionOverride;
typedef struct ButtonMapping {
char* name;
int retro;
int local;
} ButtonMapping;
// TODO: not strictly overrides anymore...
typedef struct CoreOverrides {
char* core_name;
OptionOverride* option_overrides;
ButtonMapping* button_mapping;
} CoreOverrides;
#endif