Firmware: fix firmware settings file path generation.
This commit is contained in:
parent
312628821f
commit
71a766b157
|
@ -566,10 +566,7 @@ bool CFIRMWARE::load()
|
||||||
INFO(" * ARM7 unpacked size: 0x%08X (%i) bytes\n", size7, size7);
|
INFO(" * ARM7 unpacked size: 0x%08X (%i) bytes\n", size7, size7);
|
||||||
}
|
}
|
||||||
|
|
||||||
PathInfo path;
|
snprintf(MMU.fw.userfile, MAX_PATH, "%sFirmware%cfirmware.dfc", path.pathToModule, DIRECTORY_DELIMITER_CHAR);
|
||||||
path.init(CommonSettings.Firmware);
|
|
||||||
path.getpathnoext(path.FIRMWARE, &MMU.fw.userfile[0]);
|
|
||||||
strcat(MMU.fw.userfile, ".dfc"); // DeSmuME Firmware Config
|
|
||||||
|
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
fp = fopen(MMU.fw.userfile, "rb");
|
fp = fopen(MMU.fw.userfile, "rb");
|
||||||
|
|
Loading…
Reference in New Issue