[Scummvm-cvs-logs] SF.net SVN: scummvm:[51679] scummvm/trunk/engines/scumm
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Aug 3 13:25:20 CEST 2010
Revision: 51679
http://scummvm.svn.sourceforge.net/scummvm/?rev=51679&view=rev
Author: sev
Date: 2010-08-03 11:25:20 +0000 (Tue, 03 Aug 2010)
Log Message:
-----------
SCUMM: Add posibility to disable NES APU which is CPU demanding
Modified Paths:
--------------
scummvm/trunk/engines/scumm/player_nes.cpp
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/player_nes.cpp
===================================================================
--- scummvm/trunk/engines/scumm/player_nes.cpp 2010-08-03 07:52:10 UTC (rev 51678)
+++ scummvm/trunk/engines/scumm/player_nes.cpp 2010-08-03 11:25:20 UTC (rev 51679)
@@ -23,6 +23,7 @@
*
*/
+#ifndef DISABLE_NES_APU
#include "engines/engine.h"
#include "scumm/player_nes.h"
@@ -1065,3 +1066,5 @@
}
} // End of namespace Scumm
+
+#endif // DISABLE_NES_APU
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2010-08-03 07:52:10 UTC (rev 51678)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2010-08-03 11:25:20 UTC (rev 51679)
@@ -1723,7 +1723,9 @@
_musicEngine = new Player_SID(this, _mixer);
#endif
} else if (_game.platform == Common::kPlatformNES && _game.version == 1) {
+#ifndef DISABLE_NES_APU
_musicEngine = new Player_NES(this, _mixer);
+#endif
} else if (_game.platform == Common::kPlatformAmiga && _game.version == 2) {
_musicEngine = new Player_V2A(this, _mixer);
} else if (_game.platform == Common::kPlatformAmiga && _game.version == 3) {
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