diff options
author | Sven Hesse | 2009-03-21 18:17:24 +0000 |
---|---|---|
committer | Sven Hesse | 2009-03-21 18:17:24 +0000 |
commit | 11df88f9ee0c083d096fb06a54995dd6cb33f9e5 (patch) | |
tree | 0118de030f6d3bd1c6948c6afc549abc24d428ab | |
parent | e7a94e9dfecb0828b481ef8a86180e9f5cb8b73e (diff) | |
download | scummvm-rg350-11df88f9ee0c083d096fb06a54995dd6cb33f9e5.tar.gz scummvm-rg350-11df88f9ee0c083d096fb06a54995dd6cb33f9e5.tar.bz2 scummvm-rg350-11df88f9ee0c083d096fb06a54995dd6cb33f9e5.zip |
Added an entry for the DOS version of Little Red Riding Hood
svn-id: r39596
-rw-r--r-- | engines/gob/detection.cpp | 17 | ||||
-rw-r--r-- | engines/gob/init_v1.cpp | 2 | ||||
-rw-r--r-- | engines/gob/init_v2.cpp | 3 |
3 files changed, 20 insertions, 2 deletions
diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp index bdfd7dc652..aaae57b756 100644 --- a/engines/gob/detection.cpp +++ b/engines/gob/detection.cpp @@ -1007,6 +1007,23 @@ static const GOBGameDescription gameDescriptions[] = { "", AD_ENTRY1s("intro.stk", "0b72992f5d8b5e6e0330572a5753ea25", 256490), UNK_LANG, + kPlatformPC, + ADGF_NO_FLAGS + }, + kGameTypeGob2, + kFeaturesAdlib | kFeaturesEGA, + "intro" + }, + { + { + "littlered", + "", + { + {"intro.stk", 0, "0b72992f5d8b5e6e0330572a5753ea25", 256490}, + {"mod.babayaga", 0, "43484cde74e0860785f8e19f0bc776d1", 60248}, + {NULL, 0, NULL, 0} + }, + UNK_LANG, kPlatformAmiga, ADGF_NO_FLAGS }, diff --git a/engines/gob/init_v1.cpp b/engines/gob/init_v1.cpp index 90456f927c..e482104ff9 100644 --- a/engines/gob/init_v1.cpp +++ b/engines/gob/init_v1.cpp @@ -43,7 +43,7 @@ void Init_v1::initVideo() { _vm->_global->_inVM = 0; - if (_vm->_global->_videoMode == 0x13) + if ((_vm->_global->_videoMode == 0x13) && !_vm->isEGA()) _vm->_global->_colorCount = 256; _vm->_global->_pPaletteDesc = &_vm->_global->_paletteStruct; diff --git a/engines/gob/init_v2.cpp b/engines/gob/init_v2.cpp index b468c15c25..9e9cf69e97 100644 --- a/engines/gob/init_v2.cpp +++ b/engines/gob/init_v2.cpp @@ -49,7 +49,8 @@ void Init_v2::initVideo() { _vm->_global->_inVM = 0; _vm->_global->_colorCount = 16; - if (((_vm->getPlatform() == Common::kPlatformPC) || + if (!_vm->isEGA() && + ((_vm->getPlatform() == Common::kPlatformPC) || (_vm->getPlatform() == Common::kPlatformMacintosh)) && ((_vm->_global->_videoMode == 0x13) || (_vm->_global->_videoMode == 0x14))) |