mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Exclude PCE sound player, from non-16bit color build.
svn-id: r46119
This commit is contained in:
parent
65eae0b53e
commit
47e358cd12
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user