diff options
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r-- | platform/platform_win.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp index 62934716b2..4edfe71d71 100644 --- a/platform/platform_win.cpp +++ b/platform/platform_win.cpp @@ -73,8 +73,15 @@ Platform::Platform() } FileWriter::DeleteFileX(m_resourcesDir + "mapswithmetmptestfile"); + m_settingsDir = m_writableDir; + char pathBuf[MAX_PATH] = {0}; + GetTempPathA(MAX_PATH, pathBuf); + m_tmpDir = pathBuf; + LOG(LDEBUG, ("Resources Directory:", m_resourcesDir)); LOG(LDEBUG, ("Writable Directory:", m_writableDir)); + LOG(LDEBUG, ("Tmp Directory:", m_tmpDir)); + LOG(LDEBUG, ("Settings Directory:", m_settingsDir)); } Platform::~Platform() |