From c30018ef37140a4f638b83b7aedeade6f367c61e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 6 Jun 2011 23:26:09 +0200 Subject: DC: Use OSystem's 'slots' for timer/savefile manager & fsFactory --- backends/platform/dc/time.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/dc/time.cpp') 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))handler(); + if (_timerManager != NULL) + ((DefaultTimerManager *)_timerManager)->handler(); checkSound(); } getMillis(); -- cgit v1.2.3