implemented save/load config

also big refactor of config (options and button mappings) management
This commit is contained in:
Shaun Inman 2023-01-28 11:12:39 -05:00
parent 3d24d19659
commit 515aa13b60
10 changed files with 904 additions and 591 deletions

View file

@ -4,13 +4,15 @@
typedef struct OptionOverride {
char* key;
char* value;
int disable; // TODO: hide option from user
int lock; // TODO: prevent changing this value
} OptionOverride;
typedef struct ButtonMapping {
char* name;
int retro;
int local;
int local; // TODO: dislike this name...
int mod;
int default_;
} ButtonMapping;
typedef struct CoreOverrides {