aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/time.cpp
diff options
context:
space:
mode:
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();