mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
Use GenericConfigLocation so files will be placed correctly in non-portable Windows builds
This commit is contained in:
@ -169,7 +169,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
|||||||
fullpath = path;
|
fullpath = path;
|
||||||
#else
|
#else
|
||||||
// Check user configuration directory
|
// Check user configuration directory
|
||||||
QDir config(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation));
|
QDir config(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));
|
||||||
config.mkdir("melonDS");
|
config.mkdir("melonDS");
|
||||||
fullpath = config.absolutePath() + "/melonDS/";
|
fullpath = config.absolutePath() + "/melonDS/";
|
||||||
fullpath.append(path);
|
fullpath.append(path);
|
||||||
|
Reference in New Issue
Block a user