diff options
author | Max Horn | 2004-01-11 21:57:24 +0000 |
---|---|---|
committer | Max Horn | 2004-01-11 21:57:24 +0000 |
commit | c55d5d6465f15afc7648c196a3100800002e1737 (patch) | |
tree | d37a646267f2c0cc45f7ff1450d6eaed7be35c99 /scumm/midiparser_eup.cpp | |
parent | 87e8ccd8c164c76ff37853ec1d7929348422581c (diff) | |
download | scummvm-rg350-c55d5d6465f15afc7648c196a3100800002e1737.tar.gz scummvm-rg350-c55d5d6465f15afc7648c196a3100800002e1737.tar.bz2 scummvm-rg350-c55d5d6465f15afc7648c196a3100800002e1737.zip |
pedantic corrections
svn-id: r12330
Diffstat (limited to 'scumm/midiparser_eup.cpp')
-rw-r--r-- | scumm/midiparser_eup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/midiparser_eup.cpp b/scumm/midiparser_eup.cpp index 1986c1b0ca..3b8afcb907 100644 --- a/scumm/midiparser_eup.cpp +++ b/scumm/midiparser_eup.cpp @@ -149,8 +149,8 @@ void MidiParser_EUP::parseNextEvent (EventInfo &info) { break; } } else { - printf ("Unknown Euphony music event 0x%02X\n", (int) cmd); - memset (&info, 0, sizeof(info)); + warning("Unknown Euphony music event 0x%02X", (int) cmd); + memset(&info, 0, sizeof(info)); pos = 0; break; } @@ -163,8 +163,8 @@ bool MidiParser_EUP::loadMusic (byte *data, uint32 size) { byte *pos = data; int i; - if (memcmp (pos, "SO", 2)) { - printf ("Warning: 'SO' header expected but found '%c%c' instead.\n", pos[0], pos[1]); + if (memcmp(pos, "SO", 2)) { + warning("'SO' header expected but found '%c%c' instead.", pos[0], pos[1]); return false; } |