aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-07 21:15:50 +0000
committerMartin Kiewitz2009-10-07 21:15:50 +0000
commitc0c2d4f484cbf4dfaed91be525b365102a916a17 (patch)
tree52a2d2fcf223529c30c6b8e0c18acc7611533161 /engines
parent54e69d635914a62dba6c2af570c1224937e704b5 (diff)
downloadscummvm-rg350-c0c2d4f484cbf4dfaed91be525b365102a916a17.tar.gz
scummvm-rg350-c0c2d4f484cbf4dfaed91be525b365102a916a17.tar.bz2
scummvm-rg350-c0c2d4f484cbf4dfaed91be525b365102a916a17.zip
SCI/newgui: SciGuiPicture now errors out on mirrored VGA pictures (added fixme)
svn-id: r44758
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui_picture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp
index c1df49ad3b..0a4da6acc4 100644
--- a/engines/sci/gui/gui_picture.cpp
+++ b/engines/sci/gui/gui_picture.cpp
@@ -158,6 +158,10 @@ void SciGuiPicture::drawCel(int16 x, int16 y, byte *pdata, int size) {
lasty = MIN<int16>(height + y, _gfx->GetPort()->rect.bottom) + _gfx->GetPort()->top;
+ // FIXME: ...seems we have to unpack the view and then mirror it on demand to screen
+ if (_mirroredFlag)
+ error("mirrored SCI1 picture views are currently not supported");
+
switch (_s->resMan->getViewType()) {
case kViewVga:
case kViewVga11: