Skip to content

Commit

Permalink
ADL: Add workaround for hires5 region 15
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Dec 18, 2016
1 parent 9543ec5 commit 87609ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/adl/adl.cpp
Expand Up @@ -246,6 +246,10 @@ void AdlEngine::loadWords(Common::ReadStream &stream, WordMap &map, Common::Stri
if (synonyms == 0xff)
break;

// WORKAROUND: Missing noun list terminator in hires5 region 15
if (_gameDescription->gameType == GAME_TYPE_HIRES5 && _state.region == 15 && index == 81)
return;

for (uint i = 0; i < synonyms; ++i) {
if (stream.read((char *)buf, IDI_WORD_SIZE) < IDI_WORD_SIZE)
error("Error reading word list");
Expand Down

0 comments on commit 87609ef

Please sign in to comment.