implemented save/load config
also big refactor of config (options and button mappings) management
This commit is contained in:
parent
3d24d19659
commit
515aa13b60
10 changed files with 904 additions and 591 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue