From eee3f173ec616e89dea23d4aa192e68587eea148 Mon Sep 17 00:00:00 2001 From: eddie-0815 Date: Mon, 5 Nov 2007 23:38:15 +0000 Subject: Mac OS X: We're getting closer! Songs get loaded. Sound is playing on the SingScreen. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@591 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UMain.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Game/Code/Classes/UMain.pas') diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index b1469f00..f25eaa87 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -1051,7 +1051,7 @@ procedure InitializePaths; If DirectoryExists(aPathVar) then begin - lAttrib := fileGetAttr('C:Temp'); + lAttrib := fileGetAttr(aPathVar); lWriteable := ( lAttrib and faDirectory <> 0 ) AND NOT ( lAttrib and faReadOnly <> 0 ) -- cgit v1.2.3