aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lab/speciallocks.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/lab/speciallocks.cpp b/engines/lab/speciallocks.cpp
index 6470e58641..3104d9d4dd 100644
--- a/engines/lab/speciallocks.cpp
+++ b/engines/lab/speciallocks.cpp
@@ -242,7 +242,12 @@ void SpecialLocks::showTileLock(const Common::String filename, bool showSolution
_vm->_anim->_noPalChange = false;
_vm->_graphics->blackScreen();
- Common::File *tileFile = _vm->_resource->openDataFile(showSolution ? "P:TileSolution" : "P:Tile");
+ Common::File *tileFile;
+ if (_vm->getPlatform() == Common::kPlatformDOS)
+ tileFile = _vm->_resource->openDataFile(showSolution ? "P:TileSolu" : "P:Tile");
+ else
+ // Windows and Amiga versions use TileSolution and Tile
+ tileFile = _vm->_resource->openDataFile(showSolution ? "P:TileSolution" : "P:Tile");
int start = showSolution ? 0 : 1;