vc_69 update from Jamieson630

svn-id: r7705
This commit is contained in:
Travis Howell 2003-05-20 02:33:28 +00:00
parent db8256df8a
commit b5e5403196

View File

@ -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);
}
}