From 4859734e7e6699e5c88added2df53ba3ff168300 Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 2 Sep 2008 13:34:19 +0000 Subject: - 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 --- src/classes/UPlatformWindows.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/classes/UPlatformWindows.pas') 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; -- cgit v1.2.3