More consistent capitalisation in settings

This commit is contained in:
CTurt 2014-12-10 18:41:15 +00:00
parent 27c8df10b9
commit 33d85e4bd8
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
circlePad: joystick
touch: mouse
Circle Pad: JOYSTICK
Touch: MOUSE
A: A
B: B
X: X

View File

@ -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);