mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-07 03:03:15 +00:00
Move game_data to RW directory inside user folder for linux
This commit is contained in:
parent
83c8204d23
commit
a1fbab5de7
5 changed files with 14 additions and 13 deletions
|
@ -20,7 +20,7 @@ int main(int argc, char* argv[]) {
|
|||
// Load configurations and initialize Qt application
|
||||
const auto config_dir = Common::FS::GetUserPath(Common::FS::PathType::UserDir);
|
||||
Config::load(config_dir / "config.toml");
|
||||
QString gameDataPath = qApp->applicationDirPath() + "/game_data/";
|
||||
QString gameDataPath = QDir::currentPath() + "/user/game_data/";
|
||||
std::string stdStr = gameDataPath.toStdString();
|
||||
std::filesystem::path path(stdStr);
|
||||
#ifdef _WIN64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue