diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-30 13:36:13 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-30 13:36:13 +0000 |
commit | 5428a88a83a1b8c1bb368db6a8a0719ed9f33d34 (patch) | |
tree | 56b6d72b4d4a8d342762fa156eced4b06d0b2273 /Game | |
parent | ef62a79bbfa8db024a3b3399d3605dd67f568b72 (diff) | |
download | usdx-5428a88a83a1b8c1bb368db6a8a0719ed9f33d34.tar.gz usdx-5428a88a83a1b8c1bb368db6a8a0719ed9f33d34.tar.xz usdx-5428a88a83a1b8c1bb368db6a8a0719ed9f33d34.zip |
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
Diffstat (limited to 'Game')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 6 |
1 files changed, 3 insertions, 3 deletions
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; //------------------------------ |