diff options
Diffstat (limited to 'common/timer.cpp')
-rw-r--r-- | common/timer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/timer.cpp b/common/timer.cpp index f1e09a9ff0..d46d975dd3 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -43,7 +43,7 @@ Timer::Timer(OSystem *system) : _timerSlots[i].counter = 0; } - _thisTime = _system->get_msecs(); + _thisTime = _system->getMillis(); // Set the timer last, after everything has been initialised _system->setTimerCallback(&timer_handler, 10); @@ -79,7 +79,7 @@ int Timer::handler(int t) { uint32 interval, l; _lastTime = _thisTime; - _thisTime = _system->get_msecs(); + _thisTime = _system->getMillis(); interval = 1000 * (_thisTime - _lastTime); for (l = 0; l < MAX_TIMERS; l++) { |