equal
deleted
inserted
replaced
941 path[result] = '\0'; |
941 path[result] = '\0'; |
942 } |
942 } |
943 } |
943 } |
944 #endif |
944 #endif |
945 |
945 |
946 void DetermineBasePaths() |
946 void DetermineBasePaths(const char *exe) |
947 { |
947 { |
948 _paths.personal_dir = _paths.game_data_dir = MallocT<char>(MAX_PATH); |
948 _paths.personal_dir = _paths.game_data_dir = MallocT<char>(MAX_PATH); |
949 #if defined(UNICODE) |
949 #if defined(UNICODE) |
950 TCHAR path[MAX_PATH]; |
950 TCHAR path[MAX_PATH]; |
951 GetCurrentDirectory(MAX_PATH - 1, path); |
951 GetCurrentDirectory(MAX_PATH - 1, path); |