mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 08:19:19 +00:00
SCUMM: (INDY3/MAC) - add launcher option for lq music
(just attaching the alread existing option)
This commit is contained in:
parent
569bb43b06
commit
7d48995d44
@ -773,7 +773,7 @@ const ExtraGuiOptions ScummMetaEngine::getExtraGuiOptions(const Common::String &
|
||||
// The low quality music in Loom was probably intended for low-end
|
||||
// Macs. It plays only one channel, instead of three.
|
||||
|
||||
if (target.empty() || (gameid == "loom" && platform == Common::kPlatformMacintosh && extra != "Steam")) {
|
||||
if (target.empty() || ((gameid == "loom" || gameid == "indy3") && platform == Common::kPlatformMacintosh && extra != "Steam")) {
|
||||
options.push_back(macV3LowQualityMusic);
|
||||
}
|
||||
|
||||
|
@ -2170,6 +2170,8 @@ void ScummEngine::setupMusic(int midi, const Common::Path &macInstrumentFile) {
|
||||
_musicEngine = new Player_V4A(this, _mixer);
|
||||
} else if (_game.platform == Common::kPlatformMacintosh && _game.id == GID_INDY3) {
|
||||
_musicEngine = new Player_Mac_Indy3(this, _mixer);
|
||||
if (ConfMan.hasKey("mac_v3_low_quality_music") && ConfMan.getBool("mac_v3_low_quality_music"))
|
||||
_musicEngine->setQuality(Player_Mac_Indy3::kQualLo);
|
||||
_sound->_musicType = MDT_MACINTOSH;
|
||||
} else if (_game.platform == Common::kPlatformMacintosh && _game.id == GID_LOOM) {
|
||||
_musicEngine = new Player_V3M(this, _mixer, ConfMan.getBool("mac_v3_low_quality_music"));
|
||||
|
@ -858,7 +858,10 @@ void ScummEngine::setSoundCardVarToCurrentConfig() {
|
||||
// 4 Roland
|
||||
switch (_sound->_musicType) {
|
||||
case MDT_MACINTOSH:
|
||||
VAR(VAR_SOUNDCARD) = (_game.id == GID_INDY3) ? 11 : 3;
|
||||
if (_game.id == GID_INDY3)
|
||||
VAR(VAR_SOUNDCARD) = (ConfMan.hasKey("mac_v3_low_quality_music") && ConfMan.getBool("mac_v3_low_quality_music")) ? 10 : 11;
|
||||
else
|
||||
VAR(VAR_SOUNDCARD) = 3;
|
||||
break;
|
||||
case MDT_NONE:
|
||||
case MDT_PCSPK:
|
||||
|
Loading…
x
Reference in New Issue
Block a user