aboutsummaryrefslogtreecommitdiff
path: root/common/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/timer.cpp')
-rw-r--r--common/timer.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index 7ca8f4c1a2..1c184a4d4e 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -18,12 +18,16 @@
* $Header$
*/
+#ifndef __MORPHOS__
+
#include "stdafx.h"
-#include "scumm.h"
#include "scummsys.h"
#include "timer.h"
+#include "scumm/scumm.h"
+
+// FIXME - this shouldn't use Scumm, but rather Engine (so that e.g. we can
+// reuse the code for Simon).
-#ifndef __MORPHOS__
static Scumm * scumm;
Timer::Timer(Scumm * parent) {
@@ -154,5 +158,5 @@ void Timer::releaseProcedure (TimerProc procedure) {
}
_timerRunning = true;
}
-#endif
+#endif