aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/core.cpp')
-rw-r--r--engines/sci/sfx/core.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index 16f414affe..3cd6e47ce5 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -32,7 +32,6 @@
#include "sci/sfx/sci_midi.h"
#include "sci/sfx/softseq/pcjr.h"
-#include "sci/sfx/softseq/adlib.h"
#include "common/system.h"
#include "common/timer.h"
@@ -229,7 +228,11 @@ Common::Error SfxPlayer::init(ResourceManager *resMan, int expected_latency) {
switch (musicDriver) {
case MD_ADLIB:
- _mididrv = new MidiPlayer_Adlib();
+ // FIXME: There's no Amiga sound option, so we hook it up to Adlib
+ if (((SciEngine *)g_engine)->getPlatform() == Common::kPlatformAmiga)
+ _mididrv = MidiPlayer_Amiga_create();
+ else
+ _mididrv = MidiPlayer_Adlib_create();
break;
case MD_PCJR:
_mididrv = new MidiPlayer_PCJr();