better handle input mapping in cores with modes

fixes GG and SMS paks (but still doesn't provide unique overrides for the individual modes)
This commit is contained in:
Shaun Inman 2023-03-01 21:04:15 -05:00
parent 6f0f8cf88f
commit 2e34a86a78
2 changed files with 12 additions and 5 deletions

View file

@ -4,7 +4,7 @@
typedef struct OptionOverride {
char* key;
char* value;
int lock; // prevents changing this value
int lock; // prevents showing/changing this value
} OptionOverride;
typedef struct ButtonMapping {
@ -13,6 +13,7 @@ typedef struct ButtonMapping {
int local; // TODO: dislike this name...
int mod;
int default_;
int ignore;
} ButtonMapping;
typedef struct CoreOverrides {