aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-01-29 17:04:37 +0000
committerSven Hesse2007-01-29 17:04:37 +0000
commit36a54218b16cef112909bb5362f5d85615368fab (patch)
tree867039305d23d9a71da10c93a1a223d4318487f9 /engines/gob/init.cpp
parent9a7c1c9baf56f28e78acdff45bf6d573daa89a2f (diff)
downloadscummvm-rg350-36a54218b16cef112909bb5362f5d85615368fab.tar.gz
scummvm-rg350-36a54218b16cef112909bb5362f5d85615368fab.tar.bz2
scummvm-rg350-36a54218b16cef112909bb5362f5d85615368fab.zip
- Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)
- Implemented wide surfaces + scrolling - Some clean-up svn-id: r25253
Diffstat (limited to 'engines/gob/init.cpp')
-rw-r--r--engines/gob/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/init.cpp b/engines/gob/init.cpp
index 7263fe9658..a026354eb2 100644
--- a/engines/gob/init.cpp
+++ b/engines/gob/init.cpp
@@ -135,8 +135,8 @@ memBlocks = word ptr -2*/
_vm->_global->_inter_variablesSizes = 0;
_palDesc = new Video::PalDesc;
- if (_vm->_global->_videoMode != 0x13)
- error("initGame: Only 0x13 video mode is supported!");
+ if ((_vm->_global->_videoMode != 0x13) && (_vm->_global->_videoMode != 0x14))
+ error("initGame: Only 0x13 or 0x14 video mode is supported!");
_palDesc->vgaPal = _vm->_draw->_vgaPalette;
_palDesc->unused1 = _vm->_draw->_unusedPalette1;