[Scummvm-cvs-logs] SF.net SVN: scummvm: [31659] scummvm/trunk/engines/agi/agi.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Apr 22 22:33:46 CEST 2008
Revision: 31659
http://scummvm.svn.sourceforge.net/scummvm/?rev=31659&view=rev
Author: sev
Date: 2008-04-22 13:33:46 -0700 (Tue, 22 Apr 2008)
Log Message:
-----------
Fix initialization of Apple //gs sound
Modified Paths:
--------------
scummvm/trunk/engines/agi/agi.cpp
Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp 2008-04-22 18:47:25 UTC (rev 31658)
+++ scummvm/trunk/engines/agi/agi.cpp 2008-04-22 20:33:46 UTC (rev 31659)
@@ -686,8 +686,7 @@
// 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)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list