diff options
author | Travis Howell | 2003-05-20 02:33:28 +0000 |
---|---|---|
committer | Travis Howell | 2003-05-20 02:33:28 +0000 |
commit | b5e54031967fbe31fa7a3468e2f83c41b5b16139 (patch) | |
tree | 12a97ef021add4fe5bdb7aa1546de0459ed810c0 /simon | |
parent | db8256df8a2b28e546cd0eba8b95b26f937a5d01 (diff) | |
download | scummvm-rg350-b5e54031967fbe31fa7a3468e2f83c41b5b16139.tar.gz scummvm-rg350-b5e54031967fbe31fa7a3468e2f83c41b5b16139.tar.bz2 scummvm-rg350-b5e54031967fbe31fa7a3468e2f83c41b5b16139.zip |
vc_69 update from Jamieson630
svn-id: r7705
Diffstat (limited to 'simon')
-rw-r--r-- | simon/vga.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/simon/vga.cpp b/simon/vga.cpp index dfc2949c23..936b6a8303 100644 --- a/simon/vga.cpp +++ b/simon/vga.cpp @@ -1810,15 +1810,13 @@ void SimonState::vc_69() { if (_debugMode) warning("vc_69(%d,%d): music stuff?", a, b); - if (_vc72_var1 == 999) { + if (_vc72_var1 == 999 || _vc72_var1 == 0xFFFF) { _vc70_var2 = b; - midi_play(a); - _vc72_var1 = b; - } else if (_vc72_var1 != 0xFFFF) { - if (_vc72_var1 != a) { - _vc72_var3 = a; - _vc72_var2 = a; - } + midi_play (a); + _vc72_var1 = a; + } else if (_vc72_var1 != a) { + _vc72_var3 = a; + _vc72_var2 = (a & 0xFF) << 8 | (a >> 8); } } |