FS: Use PHYSFS_getPrefDir on Linux/FreeBSD too

Follow-up to #19 which did the change for macOS.
It appears to work as expected on Linux too.

Tested on a distro where XDG_DATA_HOME is undefined by default,
and `PHYSFS_getPrefDir` also resolves to `~/.local/share/VVVVVV/`.
The first organization parameter is unused on Linux and macOS.
This commit is contained in:
Rémi Verschelde
2020-01-11 00:50:02 +01:00
committed by Ethan Lee
parent 2cfed68fcc
commit a9b1ff737c
2 changed files with 5 additions and 14 deletions

View File

@@ -1,7 +1,10 @@
Contributors
------------
(Ordered alphabetically by last name.)
* Christoph Böhmwalder (@chrboe)
* Marvin Scholz (@ePirat)
* Elijah Stone
* Emmanuel Vadot (@evadot)
* Marvin Scholz (@ePirat)
* Rémi Verschelde (@akien-mga)