diff options
author | Travis Howell | 2002-12-06 02:14:37 +0000 |
---|---|---|
committer | Travis Howell | 2002-12-06 02:14:37 +0000 |
commit | 710a311c0e36f7734a1025422c5ec38e0159019a (patch) | |
tree | 312c1e610c6d2e24850426916cb296b50c40bea3 /simon/items.cpp | |
parent | bc36f7144a5ac41202108367f0e29b08f1eebb21 (diff) | |
download | scummvm-rg350-710a311c0e36f7734a1025422c5ec38e0159019a.tar.gz scummvm-rg350-710a311c0e36f7734a1025422c5ec38e0159019a.tar.bz2 scummvm-rg350-710a311c0e36f7734a1025422c5ec38e0159019a.zip |
Enable debug keys and warnings only if debug mode selected.
Fix fast mode
svn-id: r5851
Diffstat (limited to 'simon/items.cpp')
-rw-r--r-- | simon/items.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index 11f1e95263..f3c2c40b22 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -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 |