From b8f2a3a34271b73ab2cb84ea25e5fbf80e076658 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 16 Jan 2010 21:34:36 +0000 Subject: cleanup svn-id: r47333 --- engines/groovie/music.cpp | 2 +- engines/m4/mads_anim.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/groovie/music.cpp b/engines/groovie/music.cpp index d05a4c1b65..a5dd5d809a 100644 --- a/engines/groovie/music.cpp +++ b/engines/groovie/music.cpp @@ -405,7 +405,7 @@ MusicPlayerXMI::MusicPlayerXMI(GroovieEngine *vm, const Common::String >lName) loadTimbres(gtlName + ".ad"); // Setup the percussion channel - for (unsigned int i = 0; i < _timbres.size(); i++) { + for (uint i = 0; i < _timbres.size(); i++) { if (_timbres[i].bank == 0x7F) setTimbreAD(9, _timbres[i]); } diff --git a/engines/m4/mads_anim.cpp b/engines/m4/mads_anim.cpp index 7a8d55c545..ffa3b4bc9c 100644 --- a/engines/m4/mads_anim.cpp +++ b/engines/m4/mads_anim.cpp @@ -573,8 +573,7 @@ void AnimviewView::readNextCommand() { assert(_vm->_resourceManager->resourceExists(aaFile.filenames[seriesCtr].c_str())); // Start sound - if (aaFile.flags & AA_HAS_SOUND) - { + if (aaFile.flags & AA_HAS_SOUND) { char buffer[100]; strcpy(buffer, aaFile.soundName.c_str()); buffer[0] = 'A'; // A for AdLib resource @@ -720,7 +719,7 @@ AAFile::AAFile(const char *resourceName, M4Engine* vm): MadsPack(resourceName, v Common::MemoryReadStream stream2(*getItemStream(2)); Common::MemoryReadStream stream(*getItemStream(0)); -printf("ss %d %d %d\n", stream.size(), stream1.size(), stream2.size()); + seriesCount = stream.readUint16LE(); frameCount = stream.readUint16LE(); frameEntryCount = stream.readUint16LE(); -- cgit v1.2.3