Exclude PCE sound player, from non-16bit color build.

svn-id: r46119
This commit is contained in:
Travis Howell 2009-11-24 00:15:10 +00:00
parent 65eae0b53e
commit 47e358cd12
3 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,8 @@
#include <math.h>
#include "player_pce.h"
#ifdef USE_RGB_COLOR
namespace Scumm {
// CPU and PSG use the same base clock but with a different divider
@ -753,3 +755,5 @@ int Player_PCE::getMusicTimer() const {
}
} // End of namespace Scumm
#endif // USE_RGB_COLOR

View File

@ -31,6 +31,8 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#ifdef USE_RGB_COLOR
namespace Scumm {
class ScummEngine;
@ -128,4 +130,6 @@ private:
} // End of namespace Scumm
#endif // USE_RGB_COLOR
#endif

View File

@ -1726,8 +1726,10 @@ void ScummEngine::setupMusic(int midi) {
_musicEngine = new Player_V2A(this, _mixer);
} else if (_game.platform == Common::kPlatformAmiga && _game.version == 3) {
_musicEngine = new Player_V3A(this, _mixer);
#ifdef USE_RGB_COLOR
} else if (_game.platform == Common::kPlatformPCEngine && _game.version == 3) {
_musicEngine = new Player_PCE(this, _mixer);
#endif
} else if (_game.platform == Common::kPlatformAmiga && _game.version <= 4) {
_musicEngine = new Player_V4A(this, _mixer);
} else if (_game.id == GID_MANIAC && _game.version == 1) {