aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2008-04-22 20:33:46 +0000
committerEugene Sandulenko2008-04-22 20:33:46 +0000
commitd1d227db831306027ac36b0898f34582dab420d8 (patch)
tree6972a370cbb0d6e703bc25bfe16a0dc86290be53 /engines/agi/agi.cpp
parent00de16f58733f4dc13cb9ea6c7b8eca3ae9efa27 (diff)
downloadscummvm-rg350-d1d227db831306027ac36b0898f34582dab420d8.tar.gz
scummvm-rg350-d1d227db831306027ac36b0898f34582dab420d8.tar.bz2
scummvm-rg350-d1d227db831306027ac36b0898f34582dab420d8.zip
Fix initialization of Apple //gs sound
svn-id: r31659
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r--engines/agi/agi.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 58d6eba8cf..81aec3e351 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -686,8 +686,7 @@ void AgiEngine::initialize() {
// If used platform is Apple IIGS then we must use Apple IIGS sound emulation
// because Apple IIGS AGI games use only Apple IIGS specific sound resources.
- if (ConfMan.hasKey("platform") &&
- Common::parsePlatform(ConfMan.get("platform")) == Common::kPlatformApple2GS) {
+ if (getPlatform() == Common::kPlatformApple2GS) {
_soundemu = SOUND_EMU_APPLE2GS;
} else {
switch (MidiDriver::detectMusicDriver(MDT_PCSPK)) {