aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenSong.pas7
-rw-r--r--Themes/Classic.ini2
-rw-r--r--Themes/Deluxe.ini2
3 files changed, 6 insertions, 5 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 2ce06d7a..87aa122e 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -1533,9 +1533,10 @@ begin
B:=0;
Pos := 0;
- Res := floor(92/Theme.Song.Equalizer.Bands);//How much channels are used for one Band
+ Res := ceil(92/Theme.Song.Equalizer.Bands);//How much channels are used for one Band
+
//Change Lengths
- for I := 0 to 92 do
+ for I := 0 to (Res * Theme.Song.Equalizer.Bands - 1) do
begin
A := floor(I/Res);
@@ -1589,7 +1590,7 @@ begin
PosY := Theme.Song.Equalizer.Y;
PosX := Theme.Song.Equalizer.X;
- For I := 0 to Theme.Song.Equalizer.Bands do
+ For I := 0 to Theme.Song.Equalizer.Bands-1 do
begin
if Theme.Song.Equalizer.Direction then
PosY := Theme.Song.Equalizer.Y //+ (Theme.Song.Equalizer.H + Theme.Song.Equalizer.Space) * Theme.Song.Equalizer.Length
diff --git a/Themes/Classic.ini b/Themes/Classic.ini
index 6fdd3651..a437377e 100644
--- a/Themes/Classic.ini
+++ b/Themes/Classic.ini
@@ -270,7 +270,7 @@ Z=1
PieceW=8
PieceH=3
Space=1
-Bands=4
+Bands=5
Length=7
[SongVideoIcon]
diff --git a/Themes/Deluxe.ini b/Themes/Deluxe.ini
index 4f63e0bb..4a603b67 100644
--- a/Themes/Deluxe.ini
+++ b/Themes/Deluxe.ini
@@ -337,7 +337,7 @@ Z=1
PieceW=6
PieceH=6
Space=1
-Bands=5
+Bands=6
Length=18
[SongVideoIcon]