aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/OSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/OSD.cpp')
-rw-r--r--src/libui_sdl/OSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/OSD.cpp b/src/libui_sdl/OSD.cpp
index c8d5f83..8b87e9d 100644
--- a/src/libui_sdl/OSD.cpp
+++ b/src/libui_sdl/OSD.cpp
@@ -202,7 +202,7 @@ void RenderText(u32 color, const char* text, Item* item)
int breaks[64];
bool rainbow = (color == 0);
- u32 rainbowinc = (text[0] * 17) % 600;
+ u32 rainbowinc = ((text[0] * 17) + (SDL_GetTicks() * 13)) % 600;
color |= 0xFF000000;
const u32 shadow = 0xE0000000;