aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/dcmain.cpp2
-rw-r--r--backends/dc/input.cpp2
-rw-r--r--backends/dc/portdefs.h6
3 files changed, 10 insertions, 0 deletions
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp
index 85bc247581..7217b59f7f 100644
--- a/backends/dc/dcmain.cpp
+++ b/backends/dc/dcmain.cpp
@@ -20,6 +20,8 @@
*
*/
+#define RONIN_TIMER_ACCESS
+
#include <common/scummsys.h>
#include <common/stdafx.h>
#include <common/engine.h>
diff --git a/backends/dc/input.cpp b/backends/dc/input.cpp
index f31a7ffc8e..7e271d264b 100644
--- a/backends/dc/input.cpp
+++ b/backends/dc/input.cpp
@@ -20,6 +20,8 @@
*
*/
+#define RONIN_TIMER_ACCESS
+
#include <common/scummsys.h>
#include <common/stdafx.h>
#include <common/engine.h>
diff --git a/backends/dc/portdefs.h b/backends/dc/portdefs.h
index fd7929ffe7..67e0e9b275 100644
--- a/backends/dc/portdefs.h
+++ b/backends/dc/portdefs.h
@@ -6,4 +6,10 @@
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
+#ifndef RONIN_TIMER_ACCESS
+#define Timer ronin_Timer
+#endif
#include <ronin/ronin.h>
+#ifdef Timer
+#undef Timer
+#endif