mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 10:45:46 +00:00
GLK: FROTZ: Fix crash opening up Milliways release 185
It's a v6 game, and it still won't properly run, but at least it now gives a proper in-game message saying the screen width is too small rather than just crashing trying to find an MG1 file
This commit is contained in:
parent
ac38d08700
commit
0c940567dd
@ -29,7 +29,7 @@
|
||||
namespace Glk {
|
||||
namespace Frotz {
|
||||
|
||||
const Header::StoryEntry Header::RECORDS[25] = {
|
||||
const Header::StoryEntry Header::RECORDS[26] = {
|
||||
{ SHERLOCK, 21, "871214" },
|
||||
{ SHERLOCK, 26, "880127" },
|
||||
{ BEYOND_ZORK, 47, "870915" },
|
||||
@ -54,6 +54,7 @@ const Header::StoryEntry Header::RECORDS[25] = {
|
||||
{ LURKING_HORROR, 203, "870506" },
|
||||
{ LURKING_HORROR, 219, "870912" },
|
||||
{ LURKING_HORROR, 221, "870918" },
|
||||
{ MILLIWAYS, 184, "890412" },
|
||||
{ UNKNOWN, 0, "------" }
|
||||
};
|
||||
|
||||
|
@ -178,7 +178,7 @@ private:
|
||||
zword _release;
|
||||
char _serial[7];
|
||||
};
|
||||
static const StoryEntry RECORDS[25];
|
||||
static const StoryEntry RECORDS[26];
|
||||
public:
|
||||
zbyte h_version;
|
||||
zbyte h_config;
|
||||
|
@ -85,6 +85,7 @@ enum Story {
|
||||
ARTHUR,
|
||||
JOURNEY,
|
||||
LURKING_HORROR,
|
||||
MILLIWAYS,
|
||||
UNKNOWN
|
||||
};
|
||||
|
||||
|
@ -242,7 +242,7 @@ bool GlkInterface::initPictures() {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (h_version == V6)
|
||||
if (h_version == V6 && _storyId != MILLIWAYS)
|
||||
error("Could not locate MG1 file");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user