diff options
author | Max Horn | 2006-10-22 15:42:29 +0000 |
---|---|---|
committer | Max Horn | 2006-10-22 15:42:29 +0000 |
commit | 07f7761479eba5defdcfe0bd300bc438d9245551 (patch) | |
tree | 1d5d2ca4852369e9e5502b015926ab3e2ec4429f /engines/saga | |
parent | df24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8 (diff) | |
download | scummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.tar.gz scummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.tar.bz2 scummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.zip |
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
svn-id: r24443
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp index 7d312fb920..33e49a4653 100644 --- a/engines/saga/render.cpp +++ b/engines/saga/render.cpp @@ -48,7 +48,7 @@ Render::Render(SagaEngine *vm, OSystem *system) { _initialized = false; // Initialize FPS timer callback - Common::g_timer->installTimerProc(&fpsTimerCallback, 1000000, this); + _vm->_timer->installTimerProc(&fpsTimerCallback, 1000000, this); _backGroundSurface.create(_vm->getDisplayWidth(), _vm->getDisplayHeight(), 1); @@ -58,7 +58,7 @@ Render::Render(SagaEngine *vm, OSystem *system) { } Render::~Render(void) { - Common::g_timer->removeTimerProc(&fpsTimerCallback); + _vm->_timer->removeTimerProc(&fpsTimerCallback); _backGroundSurface.free(); _initialized = false; |