mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
SCI: fixing detection of vga sci11 views for ega games (original change in r50025)
svn-id: r50028
This commit is contained in:
parent
8c8ce14164
commit
602b32175a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user