[Scummvm-cvs-logs] CVS: scummvm/backends/dc display.cpp,1.29,1.30

Marcus Comstedt marcus_c at users.sourceforge.net
Fri Jan 7 13:57:22 CET 2005


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24191

Modified Files:
	display.cpp 
Log Message:
Access timer.

Index: display.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/display.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- display.cpp	9 Dec 2004 20:21:31 -0000	1.29
+++ display.cpp	7 Jan 2005 21:56:10 -0000	1.30
@@ -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 <common/stdafx.h>
 #include <common/scummsys.h>
-#include "base/engine.h"
 #include "dc.h"
 
 #define SCREEN_W 640
@@ -192,6 +193,8 @@
   //  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,





More information about the Scummvm-git-logs mailing list