mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 09:10:29 +00:00
SCI: Fix regression in previous commit (QFG2).
svn-id: r43450
This commit is contained in:
parent
00f4794c0a
commit
83e541900d
@ -532,8 +532,7 @@ gfxr_view_t *GfxResManager::getView(int nr, int *loop, int *cel, int palette) {
|
||||
int resid = GFXR_RES_ID(GFX_RESOURCE_TYPE_VIEW, nr);
|
||||
|
||||
if (!_resManager->isVGA()) {
|
||||
// TODO: Check which versions this applies to
|
||||
int pal = (_version < SCI_VERSION_1_EARLY) ? -1 : palette;
|
||||
int pal = (_version <= SCI_VERSION_01) ? -1 : palette;
|
||||
view = getEGAView(resid, viewRes->data, viewRes->size, pal);
|
||||
} else {
|
||||
if (_version < SCI_VERSION_1_1)
|
||||
|
@ -52,8 +52,8 @@ enum SciVersion {
|
||||
SCI_VERSION_0_LATE, // KQ4, LSL2, LSL3, SQ3 etc
|
||||
SCI_VERSION_01, // KQ1 and multilingual games (S.old.*)
|
||||
SCI_VERSION_1_EGA, // EGA with parser, QFG2
|
||||
SCI_VERSION_1_EARLY, // KQ5, LSL1. (EGA/VGA)
|
||||
SCI_VERSION_1_LATE, // ECO1, LSL5. (EGA/VGA)
|
||||
SCI_VERSION_1_EARLY, // KQ5. (EGA/VGA)
|
||||
SCI_VERSION_1_LATE, // ECO1, LSL1, LSL5. (EGA/VGA)
|
||||
SCI_VERSION_1_1, // KQ6, ECO2
|
||||
SCI_VERSION_32 // GK
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user