diff options
author | Matthew Hoops | 2011-12-12 12:26:08 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-12-12 12:28:49 -0500 |
commit | d1628feb761acc9f4607f64de3eb620fea53bcc9 (patch) | |
tree | c66aa3fdd09a8280d8b6d9931120908fd8ba9840 /engines/mohawk | |
parent | 8cd55a11a07a1004bf14e63a42caad9e8039a36c (diff) | |
download | scummvm-rg350-d1628feb761acc9f4607f64de3eb620fea53bcc9.tar.gz scummvm-rg350-d1628feb761acc9f4607f64de3eb620fea53bcc9.tar.bz2 scummvm-rg350-d1628feb761acc9f4607f64de3eb620fea53bcc9.zip |
MOHAWK: Fix Myst ME Mac picture file names
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/graphics.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index c4326d175f..dcb0c7940d 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -308,16 +308,19 @@ MystGraphics::~MystGraphics() { delete _backBuffer; } -static const char* picFileNames[] = { +static const char *s_picFileNames[] = { "CHpics", "", + "", "DUpics", "INpics", + "", "MEpics", "MYpics", "SEpics", - "STpics", - "" + "", + "", + "STpics" }; void MystGraphics::loadExternalPictureFile(uint16 stack) { @@ -328,11 +331,11 @@ void MystGraphics::loadExternalPictureFile(uint16 stack) { _pictureFile.picFile.close(); delete[] _pictureFile.entries; - if (!scumm_stricmp(picFileNames[stack], "")) + if (!scumm_stricmp(s_picFileNames[stack], "")) return; - if (!_pictureFile.picFile.open(picFileNames[stack])) - error ("Could not open external picture file \'%s\'", picFileNames[stack]); + if (!_pictureFile.picFile.open(s_picFileNames[stack])) + error ("Could not open external picture file \'%s\'", s_picFileNames[stack]); _pictureFile.pictureCount = _pictureFile.picFile.readUint32BE(); _pictureFile.entries = new PictureFile::PictureEntry[_pictureFile.pictureCount]; |