aboutsummaryrefslogtreecommitdiff
path: root/engines/queen
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-05-31 10:02:16 +0000
committerTorbjörn Andersson2009-05-31 10:02:16 +0000
commit0999534749f6c4edb9e4d054b95f185b829adba3 (patch)
tree55744aee72afd7cc699213a88be65938e70fa0a0 /engines/queen
parent3b311c65d0140e8bf727910d230ffd7a7f803761 (diff)
downloadscummvm-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 'engines/queen')
-rw-r--r--engines/queen/midiadlib.cpp2
-rw-r--r--engines/queen/sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/midiadlib.cpp b/engines/queen/midiadlib.cpp
index 200c7282f9..732c93ecd2 100644
--- a/engines/queen/midiadlib.cpp
+++ b/engines/queen/midiadlib.cpp
@@ -163,7 +163,7 @@ void AdlibMidiDriver::send(uint32 b) {
adlibSetPitchBend(channel, param1 | (param2 << 7));
break;
default:
-// warning("Unhandled cmd %d channel %d (0x%X)\n", cmd, channel, b);
+// warning("Unhandled cmd %d channel %d (0x%X)", cmd, channel, b);
break;
}
}
diff --git a/engines/queen/sound.cpp b/engines/queen/sound.cpp
index ccaac8227d..f37e835f12 100644
--- a/engines/queen/sound.cpp
+++ b/engines/queen/sound.cpp
@@ -321,7 +321,7 @@ void SBSound::playSoundData(Common::File *f, uint32 size, Audio::SoundHandle *so
headerSize = SB_HEADER_SIZE_V110;
break;
default:
- warning("Unhandled SB file version %d, defaulting to 104\n", version);
+ warning("Unhandled SB file version %d, defaulting to 104", version);
headerSize = SB_HEADER_SIZE_V104;
break;
}