From c144bbf9570e6d4498072374ee24edb33b6c9126 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 25 Mar 2011 00:38:25 +0100 Subject: SCI: Add two TODOs --- engines/sci/graphics/screen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 89463badd0..d544dad26f 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -156,12 +156,14 @@ void GfxScreen::copyToScreen() { } void GfxScreen::copyFromScreen(byte *buffer) { + // TODO this ignores the pitch Graphics::Surface *screen = g_system->lockScreen(); memcpy(buffer, screen->pixels, _displayPixels); g_system->unlockScreen(); } void GfxScreen::kernelSyncWithFramebuffer() { + // TODO this ignores the pitch Graphics::Surface *screen = g_system->lockScreen(); memcpy(_displayScreen, screen->pixels, _displayPixels); g_system->unlockScreen(); -- cgit v1.2.3