[Scummvm-cvs-logs] SF.net SVN: scummvm:[41836] scummvm/trunk/engines/gob

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Wed Jun 24 23:47:54 CEST 2009


Revision: 41836
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41836&view=rev
Author:   drmccoy
Date:     2009-06-24 21:47:54 +0000 (Wed, 24 Jun 2009)

Log Message:
-----------
Clarifying some warnings

Modified Paths:
--------------
    scummvm/trunk/engines/gob/script.cpp
    scummvm/trunk/engines/gob/sound/adlib.cpp
    scummvm/trunk/engines/gob/sound/cdrom.cpp
    scummvm/trunk/engines/gob/sound/infogrames.cpp

Modified: scummvm/trunk/engines/gob/script.cpp
===================================================================
--- scummvm/trunk/engines/gob/script.cpp	2009-06-24 20:26:57 UTC (rev 41835)
+++ scummvm/trunk/engines/gob/script.cpp	2009-06-24 21:47:54 UTC (rev 41836)
@@ -368,7 +368,7 @@
 }
 
 bool Script::loadLOM(const Common::String &fileName) {
-	warning("Urban Stub: loadLOM %s", _totFile.c_str());
+	warning("Stub: Script::loadLOM(%s)", _totFile.c_str());
 
 	_lomHandle = _vm->_dataIO->openData(_totFile.c_str());
 	if (_lomHandle < 0)

Modified: scummvm/trunk/engines/gob/sound/adlib.cpp
===================================================================
--- scummvm/trunk/engines/gob/sound/adlib.cpp	2009-06-24 20:26:57 UTC (rev 41835)
+++ scummvm/trunk/engines/gob/sound/adlib.cpp	2009-06-24 21:47:54 UTC (rev 41836)
@@ -243,7 +243,7 @@
 	writeOPL(0xB0 + voice, (freq >> 8) | (octa << 2) | 0x20 * on);
 
 	if (!freq)
-		warning("Voice %d, note %02X unknown", voice, note);
+		warning("AdLib: Voice %d, note %02X unknown", voice, note);
 }
 
 void AdLib::setVolume(byte voice, byte volume) {
@@ -402,7 +402,7 @@
 				_samplesTillPoll = 0;
 				return;
 			default:
-				warning("Unknown special command in ADL, stopping playback: %X",
+				warning("ADLPlayer: Unknown special command %X, stopping playback",
 						instr & 0x0F);
 				_repCount = 0;
 				_ended = true;
@@ -410,7 +410,7 @@
 			}
 			break;
 		default:
-			warning("Unknown command in ADL, stopping playback: %X",
+			warning("ADLPlayer: Unknown command %X, stopping playback",
 					instr & 0xF0);
 			_repCount = 0;
 			_ended = true;
@@ -660,7 +660,7 @@
 				setVoice(channel, timbre, false);
 				break;
 			case 0xE0:
-				warning("Pitch bend not yet implemented");
+				warning("MDYPlayer: Pitch bend not yet implemented");
 
 				note = *(_playPos)++;
 				note += (unsigned)(*(_playPos++)) << 7;
@@ -675,7 +675,7 @@
 				_playPos++;
 				break;
 			default:
-				warning("Bad MIDI instr byte: 0%X", instr);
+				warning("MDYPlayer: Bad MIDI instr byte: 0%X", instr);
 				while ((*_playPos) < 0x80)
 					_playPos++;
 				if (*_playPos != 0xF8)
@@ -750,7 +750,7 @@
 		timbrePtr = _timbres + _tbrStart + instr * 0x38 + i * 0x1A;
 		for (int j = 0; j < 27; j++) {
 			if (timbrePtr >= (_timbres + _timbresSize)) {
-				warning("Instrument %d out of range (%d, %d)", instr,
+				warning("MDYPlayer: Instrument %d out of range (%d, %d)", instr,
 						(uint32) (timbrePtr - _timbres), _timbresSize);
 				strct[j] = 0;
 			} else

Modified: scummvm/trunk/engines/gob/sound/cdrom.cpp
===================================================================
--- scummvm/trunk/engines/gob/sound/cdrom.cpp	2009-06-24 20:26:57 UTC (rev 41835)
+++ scummvm/trunk/engines/gob/sound/cdrom.cpp	2009-06-24 21:47:54 UTC (rev 41836)
@@ -87,7 +87,7 @@
 
 	byte *matchPtr = getTrackBuffer(trackName);
 	if (!matchPtr) {
-		warning("Track \"%s\" not found", trackName);
+		warning("CDROM: Track \"%s\" not found", trackName);
 		return;
 	}
 

Modified: scummvm/trunk/engines/gob/sound/infogrames.cpp
===================================================================
--- scummvm/trunk/engines/gob/sound/infogrames.cpp	2009-06-24 20:26:57 UTC (rev 41835)
+++ scummvm/trunk/engines/gob/sound/infogrames.cpp	2009-06-24 21:47:54 UTC (rev 41836)
@@ -55,7 +55,7 @@
 			_mixer->getOutputRate(), _mixer->getOutputRate() / 75);
 
 	if (!_song->load(fileName)) {
-		warning("Couldn't load infogrames music");
+		warning("Infogrames: Couldn't load music \"%s\"", fileName);
 		clearSong();
 		return false;
 	}
@@ -92,7 +92,7 @@
 bool Infogrames::loadInst(const char *fileName) {
 	_instruments = new Audio::Infogrames::Instruments;
 	if (!_instruments->load(fileName)) {
-		warning("Couldn't load instruments file");
+		warning("Infogrames: Couldn't load instruments \"%s\"", fileName);
 		clearInstruments();
 		return false;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list