aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2005-01-07 21:56:10 +0000
committerMarcus Comstedt2005-01-07 21:56:10 +0000
commitf74fce354f4aece89b45a301d0519fc67f876f5d (patch)
tree43358984875de0fc5986d9c5edf5dc7e66a004e7 /backends
parent12b5c5f85515b3f2f837992f63040373aba167ba (diff)
downloadscummvm-rg350-f74fce354f4aece89b45a301d0519fc67f876f5d.tar.gz
scummvm-rg350-f74fce354f4aece89b45a301d0519fc67f876f5d.tar.bz2
scummvm-rg350-f74fce354f4aece89b45a301d0519fc67f876f5d.zip
Access timer.
svn-id: r16481
Diffstat (limited to 'backends')
-rw-r--r--backends/dc/display.cpp7
1 files changed, 5 insertions, 2 deletions
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 <common/stdafx.h>
#include <common/scummsys.h>
-#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,