aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2014-07-05 13:40:29 +0200
committerJohannes Schickel2014-07-05 13:40:29 +0200
commit2ff628a24a31b592cba4169260ac1973f2cc16c7 (patch)
treef30439a7941637e21c1169fe22e280c9dee0e37f /engines/scumm
parent032baa8cd8edb34c8aa11cb3ec9a1f1fb1a0c8b7 (diff)
downloadscummvm-rg350-2ff628a24a31b592cba4169260ac1973f2cc16c7.tar.gz
scummvm-rg350-2ff628a24a31b592cba4169260ac1973f2cc16c7.tar.bz2
scummvm-rg350-2ff628a24a31b592cba4169260ac1973f2cc16c7.zip
SCUMM: Slight formatting fixes.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/file.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/file.cpp b/engines/scumm/file.cpp
index 21b0e594bf..8f6fdbe0cf 100644
--- a/engines/scumm/file.cpp
+++ b/engines/scumm/file.cpp
@@ -203,6 +203,7 @@ uint32 ScummFile::read(void *dataPtr, uint32 dataSize) {
#pragma mark -
#pragma mark --- ScummSteamFile ---
#pragma mark -
+
bool ScummSteamFile::open(const Common::String &filename) {
for (const SteamIndexFile *indexFile = steamIndexFiles; indexFile->len; ++indexFile) {
if (indexFile->id == _steamGame.id && indexFile->platform == _steamGame.platform && filename.equalsIgnoreCase(indexFile->indexFileName))
@@ -219,8 +220,9 @@ bool ScummSteamFile::openWithSubRange(const Common::String &filename, int32 subF
_subFileLen = subFileLen;
seek(0, SEEK_SET);
return true;
- } else
+ } else {
return false;
+ }
}
#pragma mark -