diff --git a/src/openrct2/platform/Platform.Win32.cpp b/src/openrct2/platform/Platform.Win32.cpp index cadbd3e1a3..ed1b9e205c 100644 --- a/src/openrct2/platform/Platform.Win32.cpp +++ b/src/openrct2/platform/Platform.Win32.cpp @@ -144,7 +144,7 @@ namespace Platform } } - static std::string GetCurrentExecutableDirectory() + std::string GetCurrentExecutableDirectory() { auto exePath = GetCurrentExecutablePath(); auto exeDirectory = Path::GetDirectory(exePath); diff --git a/src/openrct2/platform/Platform2.h b/src/openrct2/platform/Platform2.h index e1c87a4898..35162dfde1 100644 --- a/src/openrct2/platform/Platform2.h +++ b/src/openrct2/platform/Platform2.h @@ -33,6 +33,7 @@ namespace Platform std::string GetInstallPath(); std::string GetDocsPath(); std::string GetCurrentExecutablePath(); + std::string GetCurrentExecutableDirectory(); bool FileExists(const std::string path); rct2_time GetTimeLocal(); rct2_date GetDateLocal();