diff options
author | James Brown | 2002-12-28 11:33:10 +0000 |
---|---|---|
committer | James Brown | 2002-12-28 11:33:10 +0000 |
commit | 7070a7194ad5469fb5fb87643d155b0b96b8e9bb (patch) | |
tree | 8a00505d02ea29fab96183f4e7aa69c5f6972dd6 | |
parent | 829b2284e4d0a64a5bc6b3003ce94ad45abf918b (diff) | |
download | scummvm-rg350-7070a7194ad5469fb5fb87643d155b0b96b8e9bb.tar.gz scummvm-rg350-7070a7194ad5469fb5fb87643d155b0b96b8e9bb.tar.bz2 scummvm-rg350-7070a7194ad5469fb5fb87643d155b0b96b8e9bb.zip |
Fix CMI Akos 'garbage' bug, based off of eriktorbjorn patch 659331
svn-id: r6222
-rw-r--r-- | scumm/akos.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 1afc53b394..9c9db46cca 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -273,8 +273,8 @@ bool AkosRenderer::drawCostumeChannel(int chan) void AkosRenderer::codec1_genericDecode() { byte *src, *dst; - byte len, height, maskbit; - uint y, color; + byte len, maskbit; + uint y, color, height; const byte *scaleytab, *mask; @@ -337,8 +337,8 @@ void AkosRenderer::codec1_genericDecode() void AkosRenderer::codec1_spec1() { byte *src, *dst; - byte len, height, maskbit; - uint y, color; + byte len, maskbit; + uint y, color, height; byte pcolor; const byte *scaleytab, *mask; @@ -410,8 +410,8 @@ void AkosRenderer::codec1_spec2() void AkosRenderer::codec1_spec3() { byte *src, *dst; - byte len, height, maskbit; - uint y, color; + byte len, maskbit; + uint y, color, height; uint pcolor; const byte *scaleytab, *mask; |