aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2013-01-11 00:43:11 +0200
committerFilippos Karapetis2013-01-11 02:24:18 +0200
commitcf3890b79ab62855f5edd92d8faea7395b364ff5 (patch)
tree8bb3b43665e9e51e9701ae6937c3692b120242b9
parentb852090a74ff646ed099de31acdd73a07acc0276 (diff)
downloadscummvm-rg350-cf3890b79ab62855f5edd92d8faea7395b364ff5.tar.gz
scummvm-rg350-cf3890b79ab62855f5edd92d8faea7395b364ff5.tar.bz2
scummvm-rg350-cf3890b79ab62855f5edd92d8faea7395b364ff5.zip
SCI: Remove obsolete comment and code
-rw-r--r--engines/sci/graphics/palette.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp
index 52d44647e2..9b6eff6edc 100644
--- a/engines/sci/graphics/palette.cpp
+++ b/engines/sci/graphics/palette.cpp
@@ -722,11 +722,6 @@ void GfxPalette::kernelRestore(reg_t memoryHandle) {
}
void GfxPalette::kernelAssertPalette(GuiResourceId resourceId) {
- // Sometimes invalid viewIds are asked for, ignore those (e.g. qfg1vga)
- //if (!_resMan->testResource(ResourceId(kResourceTypeView, resourceId)))
- // return;
- // maybe we took the wrong parameter before, if this causes invalid view again, enable to commented out code again
-
GfxView *view = g_sci->_gfxCache->getView(resourceId);
Palette *viewPalette = view->getPalette();
if (viewPalette) {