aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2016-01-24 01:36:00 +0100
committerStrangerke2016-01-24 01:36:00 +0100
commit4c43e575b37164015bd8e080a66705fe5157f464 (patch)
tree6581e9e44feccb1a84baa2eeb09bec48fcaa572f /engines
parent792ae03373e7480cff1e026c801e38a5875d910a (diff)
downloadscummvm-rg350-4c43e575b37164015bd8e080a66705fe5157f464.tar.gz
scummvm-rg350-4c43e575b37164015bd8e080a66705fe5157f464.tar.bz2
scummvm-rg350-4c43e575b37164015bd8e080a66705fe5157f464.zip
LAB: Fix DOS filename in speciallocks
Diffstat (limited to 'engines')
-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;