diff options
author | Max Horn | 2003-10-10 12:12:56 +0000 |
---|---|---|
committer | Max Horn | 2003-10-10 12:12:56 +0000 |
commit | c11ebb33b6c4ae7c9766d1dd94009f390eedd846 (patch) | |
tree | ac4a749cbbcbc509ccdabb0bb6833535b5a04ecb /queen | |
parent | a8f8ae545268519f7044da25007f94cec6580909 (diff) | |
download | scummvm-rg350-c11ebb33b6c4ae7c9766d1dd94009f390eedd846.tar.gz scummvm-rg350-c11ebb33b6c4ae7c9766d1dd94009f390eedd846.tar.bz2 scummvm-rg350-c11ebb33b6c4ae7c9766d1dd94009f390eedd846.zip |
cleanup
svn-id: r10718
Diffstat (limited to 'queen')
-rw-r--r-- | queen/graphics.cpp | 9 |
1 files changed, 4 insertions, 5 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(); } |