[Scummvm-cvs-logs] scummvm master -> 4c43e575b37164015bd8e080a66705fe5157f464
Strangerke
Strangerke at scummvm.org
Sun Jan 24 01:42:39 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4c43e575b3 LAB: Fix DOS filename in speciallocks
Commit: 4c43e575b37164015bd8e080a66705fe5157f464
https://github.com/scummvm/scummvm/commit/4c43e575b37164015bd8e080a66705fe5157f464
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-01-24T01:36:00+01:00
Commit Message:
LAB: Fix DOS filename in speciallocks
Changed paths:
engines/lab/speciallocks.cpp
diff --git a/engines/lab/speciallocks.cpp b/engines/lab/speciallocks.cpp
index 6470e58..3104d9d 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;
More information about the Scummvm-git-logs
mailing list