aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/vga.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-03-16 10:30:59 +0000
committerTravis Howell2006-03-16 10:30:59 +0000
commit479a1b24c3b785cfa915a689b063ca7c61f24129 (patch)
tree2c405e4e8d68c3545e77a6b110c9fdfae78b72ac /engines/simon/vga.cpp
parent008b681dace4db5240467dbd0a073a1ea4856379 (diff)
downloadscummvm-rg350-479a1b24c3b785cfa915a689b063ca7c61f24129.tar.gz
scummvm-rg350-479a1b24c3b785cfa915a689b063ca7c61f24129.tar.bz2
scummvm-rg350-479a1b24c3b785cfa915a689b063ca7c61f24129.zip
Cleanup
svn-id: r21328
Diffstat (limited to 'engines/simon/vga.cpp')
-rw-r--r--engines/simon/vga.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index a50f41f8cc..f34f5fa201 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -862,17 +862,13 @@ void SimonEngine::drawImages_Feeble(VC10_state *state) {
dst_org = state->surf_addr;
w = 0;
do {
- byte color;
-
src = vc10_depack_column(state);
dst = dst_org;
h = 0;
do {
- color = *src;
- *dst = color;
+ *dst = *src++;
dst += _screenWidth;
- src++;
} while (++h != state->draw_height);
dst_org++;
} while (++w != state->draw_width);
@@ -882,7 +878,7 @@ void SimonEngine::drawImages_Feeble(VC10_state *state) {
_scaleX = state->x;
_scaleY = state->y;
_scaleWidth = state->width;
- _scaleHeight = state->width;
+ _scaleHeight = state->height;
} else {
scaleClip(state->height, state->width, state->y, state->x, _scrollY);
}