diff options
author | Travis Howell | 2005-11-13 11:53:57 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-13 11:53:57 +0000 |
commit | 996401406339cd9b19d8b839d2b935f2d6f324b5 (patch) | |
tree | a63aad0f3683473935b9a2f3f04aa25a8bd86769 /simon/simon.cpp | |
parent | 4af7ef91e58d07d41af88f5451f39a80ab51347b (diff) | |
download | scummvm-rg350-996401406339cd9b19d8b839d2b935f2d6f324b5.tar.gz scummvm-rg350-996401406339cd9b19d8b839d2b935f2d6f324b5.tar.bz2 scummvm-rg350-996401406339cd9b19d8b839d2b935f2d6f324b5.zip |
Fix invalid writes in FF.
svn-id: r19585
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r-- | simon/simon.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 793a37648f..7f29eee9d0 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -2496,7 +2496,11 @@ void SimonEngine::set_video_mode_internal(uint mode, uint vga_res_id) { _timer5 = 0; } else { if (!_dxUse3Or4ForLock) { - num_lines = _windowNum == 4 ? 134 : 200; + if (getGameType() == GType_FF) + num_lines = 480; + else + num_lines = _windowNum == 4 ? 134 : 200; + _vgaVar8 = num_lines; dx_copy_from_attached_to_2(0, 0, _screenWidth, num_lines); dx_copy_from_attached_to_3(num_lines); |