diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index a76f462c7b..ea65d118ea 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -289,10 +289,7 @@ void GfxScreen::copyFromScreen(byte *buffer) { } void GfxScreen::kernelSyncWithFramebuffer() { - // TODO this ignores the pitch - Graphics::Surface *screen = g_system->lockScreen(); - memcpy(_displayScreen, screen->getPixels(), _displayPixels); - g_system->unlockScreen(); + copyFromScreen(_displayScreen); } void GfxScreen::copyRectToScreen(const Common::Rect &rect) { |