mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19: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;
|
||||
#else
|
||||
// Check user configuration directory
|
||||
QDir config(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation));
|
||||
QDir config(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));
|
||||
config.mkdir("melonDS");
|
||||
fullpath = config.absolutePath() + "/melonDS/";
|
||||
fullpath.append(path);
|
||||
|
Reference in New Issue
Block a user