aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-02-26 07:48:32 +0100
committerStrangerke2014-02-26 07:48:32 +0100
commit0b57c1771ef54df5e740dac278c743a55eef9372 (patch)
tree926c2f45c0a5d6497832500c37c92ea5d5d24868 /engines/voyeur
parent62d846d7172d27c5f9e784f507cd546915f6d652 (diff)
downloadscummvm-rg350-0b57c1771ef54df5e740dac278c743a55eef9372.tar.gz
scummvm-rg350-0b57c1771ef54df5e740dac278c743a55eef9372.tar.bz2
scummvm-rg350-0b57c1771ef54df5e740dac278c743a55eef9372.zip
VOYEUR: Fix pointer in BoltFile::initDefault()
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp
index e5f525a403..e78b59bde9 100644
--- a/engines/voyeur/files.cpp
+++ b/engines/voyeur/files.cpp
@@ -421,7 +421,7 @@ byte *BoltFile::getBoltMember(uint32 id) {
}
void BoltFile::initDefault() {
- _state._curMemberPtr->_data = _state.decompress(0, _state._curMemberPtr->_size,
+ _state._curMemberPtr->_data = _state.decompress(NULL, _state._curMemberPtr->_size,
_state._curMemberPtr->_mode);
}
@@ -1094,7 +1094,7 @@ PictureResource::PictureResource(BoltFilesState &state, const byte *src):
Graphics::Surface &s = state._vm->_graphicsManager._screenSurface;
s.fillRect(Common::Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT), 0);
} else {
- // Direct sceren loading picture. In this case, the raw data of the resource
+ // Direct screen loading picture. In this case, the raw data of the resource
// is directly decompressed into the screen surface. Again, bizarre.
byte *pDest = (byte *)state._vm->_graphicsManager._screenSurface.getPixels();
state.decompress(pDest, SCREEN_WIDTH * SCREEN_HEIGHT, state._curMemberPtr->_mode);