Add correct value from simon2dos disasm.

Last value was guess for smooth scrolling.

svn-id: r11872
This commit is contained in:
Travis Howell 2003-12-23 09:08:11 +00:00
parent 9601273824
commit 0727697db0
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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:;