From 5428a88a83a1b8c1bb368db6a8a0719ed9f33d34 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 30 Apr 2008 13:36:13 +0000 Subject: database file (Ultrastar.db) is now stored in the GameUserPath instead of the current working directory. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1043 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UMain.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Game/Code/Classes') diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index 5dc03fe8..c9eacfdd 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -291,7 +291,7 @@ begin DataBase := TDataBaseSystem.Create; if (Params.ScoreFile = '') then - DataBase.Init ('Ultrastar.db') + DataBase.Init (Platform.GetGameUserPath + 'Ultrastar.db') else DataBase.Init (Params.ScoreFile); @@ -325,7 +325,7 @@ begin Log.BenchmarkEnd(0); Log.LogBenchmark('Loading Time', 0); - Log.LogError('Creating Core'); + Log.LogStatus('Creating Core', 'Initialization'); {Core := TCore.Create( USDXShortVersionStr, MakeVersion(USDX_VERSION_MAJOR, @@ -334,7 +334,7 @@ begin chr(0)) ); } - Log.LogError('Running Core'); + Log.LogStatus('Running Core', 'Initialization'); //Core.Run; //------------------------------ -- cgit v1.2.3