aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2006-06-24 09:53:45 +0000
committerMax Horn2006-06-24 09:53:45 +0000
commitc9fd9c4878f95f4ae463bc136156634577e6f444 (patch)
tree8e370f6b5c188ba37d765eca5e0856503b53bed3 /base
parent75628fe9d7fa636da792d278b36396c3934ddf0e (diff)
downloadscummvm-rg350-c9fd9c4878f95f4ae463bc136156634577e6f444.tar.gz
scummvm-rg350-c9fd9c4878f95f4ae463bc136156634577e6f444.tar.bz2
scummvm-rg350-c9fd9c4878f95f4ae463bc136156634577e6f444.zip
Added 'timer' backend module, based on the existing TimerManager code (work in progress)
svn-id: r23279
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index e65b589750..7e6062aba7 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -34,6 +34,8 @@
#include "base/commandLine.h"
#include "base/plugins.h"
#include "base/version.h"
+
+#include "backends/timer/default/default-timer.h"
#include "common/config-manager.h"
#include "common/file.h"
#include "common/fs.h"
@@ -317,7 +319,7 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
system.initBackend();
// Create the timer services
- Common::g_timer = new Common::TimerManager(&system);
+ Common::g_timer = new DefaultTimerManager(&system);
// Set initial window caption
system.setWindowCaption(gScummVMFullVersion);