1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-11-05 08:26:32 +00:00

Fix firmware path not being read

This commit is contained in:
cathery 2019-11-13 23:53:47 +03:00
parent a1363d5774
commit dc584a0af1

View File

@ -112,9 +112,9 @@ static int _ParseConfigLine(void *dummy, const char *section, const char *name,
temp_config.swapDPADandLSTICK = (strcmp(value, "true") ? false : true); temp_config.swapDPADandLSTICK = (strcmp(value, "true") ? false : true);
return 1; return 1;
} }
else if (strcmp(name, "swap_dpad_and_lstick") == 0) else if (strcmp(name, "firmware_path") == 0)
{ {
temp_config.swapDPADandLSTICK = (strcmp(value, "true") ? false : true); strcpy(firmwarePath, value);
return 1; return 1;
} }
else if (strncmp(name, "color_", 6) == 0) else if (strncmp(name, "color_", 6) == 0)