diff options
| -rw-r--r-- | queen/graphics.cpp | 9 | ||||
| -rw-r--r-- | sound/mpu401.cpp | 1 |
2 files changed, 4 insertions, 6 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp index e7ba5d0f84..0d65ffcfdb 100644 --- a/queen/graphics.cpp +++ b/queen/graphics.cpp @@ -1017,7 +1017,7 @@ void Graphics::update() { bobDrawAll(); textDrawAll(); displayScreen(); - g_engine->_system->delay_msecs(100); + g_system->delay_msecs(100); } @@ -1122,10 +1122,9 @@ void Graphics::displaySetPal(uint8 *pal, int start, int end) { void Graphics::displayScreen() { // FIXME: temporary code ; cleanup/move to Display class. - OSystem *psys = g_engine->_system; - psys->set_palette(_palette, 0, 256); - psys->copy_rect(_screen, SCREEN_W, 0, 0, SCREEN_W, SCREEN_H); - psys->update_screen(); + g_system->set_palette(_palette, 0, 256); + g_system->copy_rect(_screen, SCREEN_W, 0, 0, SCREEN_W, SCREEN_H); + g_system->update_screen(); } diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp index e6391016c7..0f25d600b7 100644 --- a/sound/mpu401.cpp +++ b/sound/mpu401.cpp @@ -20,7 +20,6 @@ #include "stdafx.h" #include "mpu401.h" -#include "base/engine.h" // for g_engine #include "common/timer.h" #include "common/util.h" // for ARRAYSIZE |
