[Scummvm-cvs-logs] SF.net SVN: scummvm:[38346] scummvm/trunk/engines/scumm/scumm.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Feb 16 07:26:55 CET 2009


Revision: 38346
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38346&view=rev
Author:   Kirben
Date:     2009-02-16 06:26:54 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
Remove unneeded code, as _musicEngine is already set to NULL by default.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp

Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2009-02-16 06:23:41 UTC (rev 38345)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2009-02-16 06:26:54 UTC (rev 38346)
@@ -1629,10 +1629,8 @@
 		// Setup for digital iMuse is performed in another place
 	} else if (_game.platform == Common::kPlatformApple2GS && _game.version == 0){
 		// TODO: Add support for music format
-		_musicEngine = NULL;
 	} else if (_game.platform == Common::kPlatformC64 && _game.version <= 1) {
 		// TODO: Add support for music format
-		_musicEngine = NULL;
 	} else if (_game.platform == Common::kPlatformNES && _game.version == 1) {
 		_musicEngine = new Player_NES(this, _mixer);
 	} else if (_game.platform == Common::kPlatformAmiga && _game.version == 2) {
@@ -1641,9 +1639,8 @@
 		_musicEngine = new Player_V3A(this, _mixer);
 	} else if (_game.platform == Common::kPlatformPCEngine && _game.version == 3) {
 		// TODO: Add support for music format
-		_musicEngine = NULL;
 	} else if (_game.platform == Common::kPlatformAmiga && _game.version <= 4) {
-		_musicEngine = NULL;
+		// TODO: Add support for music format
 	} else if (_game.id == GID_MANIAC && _game.version == 1) {
 		_musicEngine = new Player_V1(this, _mixer, midiDriver != MD_PCSPK);
 	} else if (_game.version <= 2) {


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