This commit is contained in:
parent
589abe65d1
commit
6091c3f3c2
3 changed files with 30 additions and 0 deletions
|
|
@ -8,6 +8,10 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(_WIN64) || defined(_WIN32)
|
||||
#include <find_steam_game.h>
|
||||
#endif
|
||||
|
||||
#include "DiabloUI/diabloui.h"
|
||||
#include "dx.h"
|
||||
#include "pfile.h"
|
||||
|
|
@ -148,6 +152,13 @@ void init_archives()
|
|||
paths.emplace_back("/usr/local/share/diasurgical/devilutionx/");
|
||||
#elif defined(__3DS__)
|
||||
paths.emplace_back("romfs:/");
|
||||
#elif defined(_WIN64) || defined(_WIN32)
|
||||
char gogpath[_FSG_PATH_MAX];
|
||||
fsg_get_gog_game_path(gogpath, "1412601690");
|
||||
if (strlen(gogpath) > 0) {
|
||||
paths.emplace_back(std::string(gogpath) + "/");
|
||||
paths.emplace_back(std::string(gogpath) + "/hellfire/");
|
||||
}
|
||||
#endif
|
||||
|
||||
paths.emplace_back(""); // PWD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue