diff options
author | Jordi Vilalta Prat | 2010-07-23 13:05:16 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2010-07-23 13:05:16 +0000 |
commit | 8cc6d8d0eb71c176cbe5f98385dd658e8228a17d (patch) | |
tree | d0702b62bf26d751393a3aa9e42d5d27349c349f /engines | |
parent | a92576f08b566b92e4121b9415b47b74c903bd83 (diff) | |
download | scummvm-rg350-8cc6d8d0eb71c176cbe5f98385dd658e8228a17d.tar.gz scummvm-rg350-8cc6d8d0eb71c176cbe5f98385dd658e8228a17d.tar.bz2 scummvm-rg350-8cc6d8d0eb71c176cbe5f98385dd658e8228a17d.zip |
GROOVIE: Fix compilation.
svn-id: r51206
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/vdx.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index 04910ec128..efb80059f7 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -489,8 +489,9 @@ void VDXPlayer::decodeBlockDelta(uint32 offset, byte *colours, uint16 imageWidth // Move the pointers to the beginning of the current block int32 blockOff = _origX + _origY * imageWidth; dest += blockOff; + byte *fgBuf; if (_flagSeven) { - byte *fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff; + fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff; //byte *bgBuf = (byte *)_bg->getBasePtr(0, 0) + offset + blockOff; } |