From f74fce354f4aece89b45a301d0519fc67f876f5d Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Fri, 7 Jan 2005 21:56:10 +0000 Subject: Access timer. svn-id: r16481 --- backends/dc/display.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp index 66ac55f9db..c6a5bee176 100644 --- a/backends/dc/display.cpp +++ b/backends/dc/display.cpp @@ -1,6 +1,6 @@ /* ScummVM - Scumm Interpreter * Dreamcast port - * Copyright (C) 2002-2004 Marcus Comstedt + * Copyright (C) 2002-2005 Marcus Comstedt * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -20,9 +20,10 @@ * */ +#define RONIN_TIMER_ACCESS + #include #include -#include "base/engine.h" #include "dc.h" #define SCREEN_W 640 @@ -192,6 +193,8 @@ void OSystem_Dreamcast::initSize(uint w, uint h) // dc_reset_screen(0, 0); memset(screen, 0, SCREEN_W*SCREEN_H); memset(overlay, 0, OVL_W*OVL_H*sizeof(unsigned short)); + + _devpoll = Timer(); } void OSystem_Dreamcast::copyRectToScreen(const byte *buf, int pitch, int x, int y, -- cgit v1.2.3