diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-02 13:34:19 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-02 13:34:19 +0000 |
commit | 4859734e7e6699e5c88added2df53ba3ff168300 (patch) | |
tree | c68eb09eda915b976265a4e58e1568a75223ff29 /src/classes/UPlatformWindows.pas | |
parent | fded3a5ed753bd0fff77fb73ab9abcd8ad715e59 (diff) | |
download | usdx-4859734e7e6699e5c88added2df53ba3ff168300.tar.gz usdx-4859734e7e6699e5c88added2df53ba3ff168300.tar.xz usdx-4859734e7e6699e5c88added2df53ba3ff168300.zip |
- removed configure options --enable-local/global
- instead for
- global build: just type "make" and "make install"
- local build: just type "make" and start "game/ultrastardx"
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1338 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/classes/UPlatformWindows.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/UPlatformWindows.pas b/src/classes/UPlatformWindows.pas index ee132a7b..029e8d33 100644 --- a/src/classes/UPlatformWindows.pas +++ b/src/classes/UPlatformWindows.pas @@ -214,18 +214,18 @@ end; function TPlatformWindows.GetLogPath: WideString; begin - Result := ExtractFilePath(ParamStr(0)); + Result := GetExecutionDir(); end; function TPlatformWindows.GetGameSharedPath: WideString; begin - Result := ExtractFilePath(ParamStr(0)); + Result := GetExecutionDir(); end; function TPlatformWindows.GetGameUserPath: WideString; begin //Result := GetSpecialPath(CSIDL_APPDATA) + PathDelim + 'UltraStarDX' + PathDelim; - Result := ExtractFilePath(ParamStr(0)); + Result := GetExecutionDir(); end; function TPlatformWindows.CopyFile(const Source, Target: WideString; FailIfExists: boolean): boolean; |