diff options
-rw-r--r-- | engines/sci/graphics/view.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index 3fdfd86d2f..6c0f6fda75 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -87,14 +87,10 @@ void GfxView::initData(GuiResourceId resourceId) { // caught by our undithering or even improve the graphics overall) if (curViewType == kViewEga) { if (_resourceData[1] == 0x80) { - switch (READ_LE_UINT16(_resourceData + 4)) { - case 0: // SCI1 - curViewType = kViewVga; - break; - case 1: // SCI1.1 + curViewType = kViewVga; + } else { + if (READ_LE_UINT16(_resourceData + 4) == 1) curViewType = kViewVga11; - break; - } } } |