aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-07-24 23:24:40 +0000
committerSven Hesse2007-07-24 23:24:40 +0000
commit09c2ea82de295fab011bcddcc7c2bf0ba6dd72d7 (patch)
tree9115db53480da201ae3c124123a63ab6d8d28d80 /engines/gob/inter.cpp
parent38b282b31312b827dce14f64cbbd88b74783741c (diff)
downloadscummvm-rg350-09c2ea82de295fab011bcddcc7c2bf0ba6dd72d7.tar.gz
scummvm-rg350-09c2ea82de295fab011bcddcc7c2bf0ba6dd72d7.tar.bz2
scummvm-rg350-09c2ea82de295fab011bcddcc7c2bf0ba6dd72d7.zip
- Separated game type and features
- Added feature constants for a 640x480 resolution and adlib - Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults svn-id: r28185
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 1f529b7634..4da3746681 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -209,7 +209,7 @@ void Inter::funcBlock(int16 retFlag) {
// WORKAROUND:
// The EGA version of gob1 doesn't add a delay after showing
// images between levels. We manually add it here.
- if ((_vm->_features & GF_GOB1) && (_vm->_features & GF_EGA)) {
+ if ((_vm->getGameType() == kGameTypeGob1) && _vm->isEGA()) {
int addr = _vm->_global->_inter_execPtr-_vm->_game->_totFileData;
if ((startaddr == 0x18B4 && addr == 0x1A7F && // Zombie
!strncmp(_vm->_game->_curTotFile, "avt005.tot", 10)) ||