aboutsummaryrefslogtreecommitdiff
path: root/gui/about.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/about.cpp')
-rw-r--r--gui/about.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index e2b651ee05..650c42d97c 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -175,7 +175,7 @@ void AboutDialog::addLine(const char *str) {
void AboutDialog::open() {
- _scrollTime = getMillis() + kScrollStartDelay;
+ _scrollTime = g_system->getMillis() + kScrollStartDelay;
_scrollPos = 0;
_willClose = false;
@@ -253,7 +253,7 @@ void AboutDialog::drawDialog() {
}
void AboutDialog::handleTickle() {
- const uint32 t = getMillis();
+ const uint32 t = g_system->getMillis();
int scrollOffset = ((int)t - (int)_scrollTime) / kScrollMillisPerPixel;
if (scrollOffset > 0) {
int modifiers = g_system->getEventManager()->getModifierState();