diff options
author | Travis Howell | 2006-03-27 13:30:28 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-27 13:30:28 +0000 |
commit | c12839ec182ebd5435aae9c0390f63d547da4351 (patch) | |
tree | adc2d10917d03827df58b3436c313ff15a3bd5b0 /engines | |
parent | e265f1ab5744592f104adcf1937ede900b81ae70 (diff) | |
download | scummvm-rg350-c12839ec182ebd5435aae9c0390f63d547da4351.tar.gz scummvm-rg350-c12839ec182ebd5435aae9c0390f63d547da4351.tar.bz2 scummvm-rg350-c12839ec182ebd5435aae9c0390f63d547da4351.zip |
Always init state.depack_cont
svn-id: r21466
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/vga.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index 7fc08d047d..b2991c0ba5 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -497,7 +497,6 @@ get_out:; } void vc10_skip_cols(VC10_state *vs) { - vs->depack_cont = -0x80; while (vs->x_skip) { vc10_depack_column(vs); vs->x_skip--; @@ -704,7 +703,7 @@ void SimonEngine::vc10_draw() { return; if (_dumpImages) - dump_single_bitmap(_vgaCurFileId, state.image, state.depack_src, width * 16, height, + dump_single_bitmap(_vgaCurFileId, state.image, state.depack_src, width, height, state.palette); // Check if image is compressed if (getGameType() == GType_FF) { @@ -770,6 +769,8 @@ void SimonEngine::vc10_draw() { state.width = state.draw_width = width; /* cl */ state.height = state.draw_height = height; /* ch */ + state.depack_cont = -0x80; + state.x_skip = 0; /* colums to skip = bh */ state.y_skip = 0; /* rows to skip = bl */ |