mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
Only setup 'cdaudio' config default for FM-Towns/PC98.
svn-id: r34522
This commit is contained in:
parent
9ec7c3eaca
commit
53cf9e6409
@ -247,8 +247,8 @@ void KyraEngine_v1::delayWithTicks(int ticks) {
|
||||
}
|
||||
|
||||
void KyraEngine_v1::registerDefaultSettings() {
|
||||
if (_flags.gameID != GI_KYRA3)
|
||||
ConfMan.registerDefault("cdaudio", (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98));
|
||||
if (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98)
|
||||
ConfMan.registerDefault("cdaudio", true);
|
||||
if (_flags.fanLang != Common::UNK_LANG) {
|
||||
// HACK/WORKAROUND: Since we can't use registerDefault here to overwrite
|
||||
// the global subtitles settings, we're using this hack to enable subtitles
|
||||
@ -265,7 +265,7 @@ void KyraEngine_v1::readSettings() {
|
||||
|
||||
if (!ConfMan.getBool("music_mute")) {
|
||||
_configMusic = 1;
|
||||
if (_flags.gameID != GI_KYRA3 && ConfMan.getBool("cdaudio") && (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98))
|
||||
if (ConfMan.getBool("cdaudio") && (_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98))
|
||||
_configMusic = 2;
|
||||
}
|
||||
_configSounds = ConfMan.getBool("sfx_mute") ? 0 : 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user