aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authordhewg2011-03-25 00:38:25 +0100
committerdhewg2011-03-25 00:41:01 +0100
commitc144bbf9570e6d4498072374ee24edb33b6c9126 (patch)
tree787d594ad0fc4ce90834703037ee7338a9ee5640 /engines/sci
parentb4a6c89662700b448db41d1e0c99cdf39a2dc5e0 (diff)
downloadscummvm-rg350-c144bbf9570e6d4498072374ee24edb33b6c9126.tar.gz
scummvm-rg350-c144bbf9570e6d4498072374ee24edb33b6c9126.tar.bz2
scummvm-rg350-c144bbf9570e6d4498072374ee24edb33b6c9126.zip
SCI: Add two TODOs
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/screen.cpp2
1 files changed, 2 insertions, 0 deletions
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();