aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UIni.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-22 01:16:33 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-22 01:16:33 +0000
commitd7f333d3b729b61eeeb70c2480afa516a1d459ff (patch)
tree41e2e26b7f8440a0b88213e47dc5d098ceeea76e /src/base/UIni.pas
parentedfc692c991e08af0163aa6812e5972478d7191b (diff)
downloadusdx-d7f333d3b729b61eeeb70c2480afa516a1d459ff.tar.gz
usdx-d7f333d3b729b61eeeb70c2480afa516a1d459ff.tar.xz
usdx-d7f333d3b729b61eeeb70c2480afa516a1d459ff.zip
TextureSize (=CachedCoverSize) default set back to 128.
- a default cached cover size of 128 pixels is big enough - 256 pixels are already noticeably slow with 180 covers in the song-screen displayed at once. In additon the covers.db will be too big. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2274 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base/UIni.pas')
-rw-r--r--src/base/UIni.pas7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas
index d809c790..3ed3f3d5 100644
--- a/src/base/UIni.pas
+++ b/src/base/UIni.pas
@@ -902,8 +902,11 @@ begin
LoadScreenModes(IniFile);
- // TextureSize
- TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', ITextureSize[2]));
+ // TextureSize (aka CachedCoverSize)
+ // Note: a default cached cover size of 128 pixels is big enough,
+ // 256 pixels are already noticeably slow with 180 covers in the song-screen
+ // displayed at once. In additon the covers.db will be too big.
+ TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', '128'));
// SingWindow
SingWindow := GetArrayIndex(ISingWindow, IniFile.ReadString('Graphics', 'SingWindow', 'Big'));