aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r--engines/agos/agos.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index e9d748458b..d85819ba56 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -524,10 +524,14 @@ int AGOSEngine::init() {
setupGame();
_debugger = new Debugger(this);
- _modPlayer = new Modules::ProtrackerPlayer();
_sound = new Sound(this, gss, _mixer);
- _modPlayer->init(_system);
+ if (getPlatform() == Common::kPlatformAmiga) {
+ _modPlayer = new Modules::ProtrackerPlayer();
+ _modPlayer->init(_system);
+ } else {
+ _modPlayer = 0;
+ }
_moviePlay = new MoviePlayer(this, _mixer);
if (ConfMan.hasKey("sfx_mute") && ConfMan.getBool("sfx_mute") == 1) {