Skip to content

Commit

Permalink
update path to use different one from base DevilutionX (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
DakkJaniels committed Apr 19, 2022
1 parent fa6ee6a commit 648e4e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/utils/paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const std::string &PrefPath()
{
if (!prefPath) {
#ifndef __IPHONEOS__
prefPath = FromSDL(SDL_GetPrefPath("diasurgical", "devilution"));
prefPath = FromSDL(SDL_GetPrefPath("Diablo", "MiddleEarth"));
if (FileExistsAndIsWriteable("diablo.ini")) {
prefPath = std::string("./");
}
Expand All @@ -77,7 +77,7 @@ const std::string &ConfigPath()
{
if (!configPath) {
#ifndef __IPHONEOS__
configPath = FromSDL(SDL_GetPrefPath("diasurgical", "devilution"));
configPath = FromSDL(SDL_GetPrefPath("Diablo", "MiddleEarth"));
if (FileExistsAndIsWriteable("diablo.ini")) {
configPath = std::string("./");
}
Expand Down

0 comments on commit 648e4e8

Please sign in to comment.