Closed sergiobenrocha2 closed 7 years ago
Why is that .local instead of .config? Does SDL use the same path?
-[Unknown]
SDL saves the game at ~/.config/ppsspp/PSP/GAME/
I can see a ppsspp.dl in Core/Util/GameManager.cpp:
return g_Config.externalDirectory + "/ppsspp.dl";
SDL saves the temporary file to /tmp/ppsspp.dl, while Qt tries to save at ~/.local/share/ppsspp//ppsspp.dl
Changing that line from GameManager.cpp to
return "tmp/ppsspp.dl";
works. Maybe g_Config.externalDirectory is mis-configured in Qt?
It's coming form here:
https://github.com/hrydgard/ppsspp/blob/master/ext/native/base/QtMain.cpp#L440
SDL passes /tmp. This may be an issue for iOS as well @hrydgard. Maybe we should just use memstickDirectory as a writable temp dir?
-[Unknown]
Hm, yes, that seems wrong... I'll change it to use memstickDirectory as a temporary dir, yeah, that should be safest.
It's working now, thanks. It's saving the tmp file in ~/.config/ppsspp//ppsspp.dl now
Homebrew download is not working on Linux, it can't find ~/.local/share/ppsspp//ppsspp.dl. It seems PPSSPP is not creating this path at first.
Issue is happening only on Qt, SDL port works fine.