Enable debug keys and warnings only if debug mode selected.

Fix fast mode

svn-id: r5851
This commit is contained in:
Travis Howell 2002-12-06 02:14:37 +00:00
parent bc36f7144a
commit 710a311c0e
5 changed files with 38 additions and 24 deletions

View file

@ -751,7 +751,8 @@ int SimonState::runScript()
break;
case 134:{
warning("stopMidiMusic: not implemented");
if (_debugMode)
warning("stopMidiMusic: not implemented");
/* dummy proc */
}
break;
@ -1513,7 +1514,8 @@ void SimonState::o_unk_127()
uint b = getVarOrWord();
uint c = getVarOrByte();
warning("o_unk_127(%d,%d,%d) not implemented properly", a, b, c);
if (_debugMode)
warning("o_unk_127(%d,%d,%d) not implemented properly", a, b, c);
//FIXME simon 2 attempts to use music track 93 in ending sequences
// which doesn't exist so prevent that happening