mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 19:51:48 +01:00
fixed config.ini being always reinitialized
This commit is contained in:
parent
d3116defa7
commit
9e1c7d6ce8
@ -50,7 +50,7 @@ void config_load(void)
|
|||||||
char version[16];
|
char version[16];
|
||||||
fread(version, 16, 1, fp);
|
fread(version, 16, 1, fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
if (strcmp(version,CONFIG_VERSION))
|
if (strncmp(version,CONFIG_VERSION,16))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* read file */
|
/* read file */
|
||||||
|
Loading…
Reference in New Issue
Block a user