diff options
author | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
commit | 0999534749f6c4edb9e4d054b95f185b829adba3 (patch) | |
tree | 55744aee72afd7cc699213a88be65938e70fa0a0 /sound/mods | |
parent | 3b311c65d0140e8bf727910d230ffd7a7f803761 (diff) | |
download | scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.gz scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.bz2 scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.zip |
The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
Diffstat (limited to 'sound/mods')
-rw-r--r-- | sound/mods/protracker.cpp | 4 | ||||
-rw-r--r-- | sound/mods/soundfx.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/mods/protracker.cpp b/sound/mods/protracker.cpp index d645e3cd0e..45180f3057 100644 --- a/sound/mods/protracker.cpp +++ b/sound/mods/protracker.cpp @@ -313,7 +313,7 @@ void ProtrackerStream::updateRow() { _patternDelay = ey; break; default: - warning("Unimplemented effect %X\n", note.effect); + warning("Unimplemented effect %X", note.effect); } break; @@ -326,7 +326,7 @@ void ProtrackerStream::updateRow() { } break; default: - warning("Unimplemented effect %X\n", note.effect); + warning("Unimplemented effect %X", note.effect); } } } diff --git a/sound/mods/soundfx.cpp b/sound/mods/soundfx.cpp index b1b10321ba..101d8a077d 100644 --- a/sound/mods/soundfx.cpp +++ b/sound/mods/soundfx.cpp @@ -221,7 +221,7 @@ void SoundFx::updateEffects(int ch) { case 4: // ledoff, disable low-pass filter case 7: // set step up case 8: // set step down - warning("Unhandled effect %d\n", _effects[ch]); + warning("Unhandled effect %d", _effects[ch]); break; } } |