mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 03:31:49 +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];
|
||||
fread(version, 16, 1, fp);
|
||||
fclose(fp);
|
||||
if (strcmp(version,CONFIG_VERSION))
|
||||
if (strncmp(version,CONFIG_VERSION,16))
|
||||
return;
|
||||
|
||||
/* read file */
|
||||
|
Loading…
Reference in New Issue
Block a user