aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/time.cpp
diff options
context:
space:
mode:
authorMax Horn2011-06-08 02:36:03 -0700
committerMax Horn2011-06-08 02:36:03 -0700
commit5e5661b7293404163c99f13fe4e6d96f83a0ec17 (patch)
tree535c26de0da6896d611c009848d815e2afe266ce /backends/platform/dc/time.cpp
parentb5bb4125690e6277e001d0a1356ff50b2e361578 (diff)
parentc701bdb708512cc929f4519b90f4e51cd4ccf5ae (diff)
downloadscummvm-rg350-5e5661b7293404163c99f13fe4e6d96f83a0ec17.tar.gz
scummvm-rg350-5e5661b7293404163c99f13fe4e6d96f83a0ec17.tar.bz2
scummvm-rg350-5e5661b7293404163c99f13fe4e6d96f83a0ec17.zip
Merge pull request #44 from fingolfin/modular-osystem
Modularize OSystem some more
Diffstat (limited to 'backends/platform/dc/time.cpp')
-rw-r--r--backends/platform/dc/time.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/dc/time.cpp b/backends/platform/dc/time.cpp
index c343852321..8cc3a71e8d 100644
--- a/backends/platform/dc/time.cpp
+++ b/backends/platform/dc/time.cpp
@@ -48,8 +48,8 @@ void OSystem_Dreamcast::delayMillis(uint msecs)
unsigned int t, start = Timer();
int time = (((unsigned int)msecs)*3125U)>>6;
while (((int)((t = Timer())-start))<time) {
- if (_timer != NULL)
- _timer->handler();
+ if (_timerManager != NULL)
+ ((DefaultTimerManager *)_timerManager)->handler();
checkSound();
}
getMillis();