aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-03-22 23:03:09 +0000
committerMax Horn2010-03-22 23:03:09 +0000
commitb104534d0d6342bf75d5eff8bd85847fc7e7f18f (patch)
tree8998497a2e399e7d8947a3fad3e57953f2efddef
parent92c896d88317b64a2cc99fc3617f3405481e90a2 (diff)
downloadscummvm-rg350-b104534d0d6342bf75d5eff8bd85847fc7e7f18f.tar.gz
scummvm-rg350-b104534d0d6342bf75d5eff8bd85847fc7e7f18f.tar.bz2
scummvm-rg350-b104534d0d6342bf75d5eff8bd85847fc7e7f18f.zip
Patch #2973283: SCUMM: Unneeded pointer dereference
svn-id: r48360
-rw-r--r--engines/scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 3e49fd0afe..298917477f 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -2782,11 +2782,11 @@ void GdiPCEngine::decodePCEngineGfx(const byte *room) {
decodePCEngineMaskData(_vm->findResourceData(MKID_BE('ZP00'), room));
const byte* smap_ptr = _vm->findResourceData(MKID_BE('IM00'), room);
- *smap_ptr++; // roomID
+ smap_ptr++; // roomID
int numStrips = *smap_ptr++;
int numRows = *smap_ptr++;
_PCE.maskIDSize = *smap_ptr++;
- *smap_ptr++; // unknown
+ smap_ptr++; // unknown
memset(_PCE.nametable, 0, sizeof(_PCE.nametable));
memset(_PCE.colortable, 0, sizeof(_PCE.colortable));