aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-12-23 09:08:11 +0000
committerTravis Howell2003-12-23 09:08:11 +0000
commit0727697db00b778cb4985b24d8a3848b10771597 (patch)
tree2c889ab6ebfdcbfc1d41306b83924e2346c068b0 /simon
parent96012738245743c8e020076ca09a5386637445aa (diff)
downloadscummvm-rg350-0727697db00b778cb4985b24d8a3848b10771597.tar.gz
scummvm-rg350-0727697db00b778cb4985b24d8a3848b10771597.tar.bz2
scummvm-rg350-0727697db00b778cb4985b24d8a3848b10771597.zip
Add correct value from simon2dos disasm.
Last value was guess for smooth scrolling. svn-id: r11872
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp2
-rw-r--r--simon/vga.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index eabc00b0f5..7e61675d2a 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -2543,7 +2543,7 @@ void SimonEngine::scroll_timeout() {
}
}
- add_vga_timer(2, NULL, 0, 0);
+ add_vga_timer(6, NULL, 0, 0);
}
void SimonEngine::vc_resume_sprite(byte *code_ptr, uint16 cur_file, uint16 cur_sprite) {
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 8e60fe335b..86f8d88ae6 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -1417,7 +1417,7 @@ void SimonEngine::vc_40_var_add() {
tmp = _vga_var1 - _x_scroll;
if (tmp < 20)
_vga_var2 = tmp;
- add_vga_timer(2, NULL, 0, 0); /* special timer */
+ add_vga_timer(6, NULL, 0, 0); /* special timer */
}
}
no_scroll:;
@@ -1446,7 +1446,7 @@ void SimonEngine::vc_41_var_sub() {
tmp = _vga_var1 - _x_scroll;
if (_x_scroll < 20)
_vga_var2 = -_x_scroll;
- add_vga_timer(2, NULL, 0, 0); /* special timer */
+ add_vga_timer(6, NULL, 0, 0); /* special timer */
}
}
no_scroll:;