More consistent capitalisation in settings
This commit is contained in:
parent
27c8df10b9
commit
33d85e4bd8
2 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
circlePad: joystick
|
||||
touch: mouse
|
||||
Circle Pad: JOYSTICK
|
||||
Touch: MOUSE
|
||||
A: A
|
||||
B: B
|
||||
X: X
|
||||
|
|
|
@ -79,13 +79,13 @@ bool readSettings(void) {
|
|||
|
||||
char setting[64] = { '\0' };
|
||||
|
||||
getSetting("circlePad: ", buffer, setting);
|
||||
if(strcmp(setting, "mouse") == 0) settings.circlePad = mouse;
|
||||
else if(strcmp(setting, "joystick") == 0) settings.circlePad = joystick;
|
||||
getSetting("Circle Pad: ", buffer, setting);
|
||||
if(strcmp(setting, "MOUSE") == 0) settings.circlePad = mouse;
|
||||
else if(strcmp(setting, "JOYSTICK") == 0) settings.circlePad = joystick;
|
||||
|
||||
getSetting("touch: ", buffer, setting);
|
||||
if(strcmp(setting, "mouse") == 0) settings.touch = mouse;
|
||||
else if(strcmp(setting, "joystick") == 0) settings.touch = joystick;
|
||||
getSetting("Touch: ", buffer, setting);
|
||||
if(strcmp(setting, "MOUSE") == 0) settings.touch = mouse;
|
||||
else if(strcmp(setting, "JOYSTICK") == 0) settings.touch = joystick;
|
||||
|
||||
if(getSetting("A: ", buffer, setting)) settings.A = getButton(setting);
|
||||
if(getSetting("B: ", buffer, setting)) settings.B = getButton(setting);
|
||||
|
|
Loading…
Reference in a new issue