mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
For the masochists out there,i it is now possible to select the PC Speaker
music driver. There are some other emulation modes, but I'm not sure how they should be mapped to from our music drivers. svn-id: r22952
This commit is contained in:
parent
c77ad1a24c
commit
a0e3e208ee
@ -493,7 +493,19 @@ void AgiEngine::initialize() {
|
||||
memset(&opt, 0, sizeof(struct agi_options));
|
||||
opt.gamerun = GAMERUN_RUNGAME;
|
||||
opt.hires = true;
|
||||
opt.soundemu = SOUND_EMU_NONE;
|
||||
|
||||
// TODO: Some sound emulation modes do not fit our current music
|
||||
// drivers, and I'm not sure what they are. For now, they might
|
||||
// as well be called "PC Speaker" and "Not PC Speaker".
|
||||
|
||||
switch (MidiDriver::detectMusicDriver(MDT_PCSPK)) {
|
||||
case MD_PCSPK:
|
||||
opt.soundemu = SOUND_EMU_PC;
|
||||
break;
|
||||
default:
|
||||
opt.soundemu = SOUND_EMU_NONE;
|
||||
break;
|
||||
}
|
||||
|
||||
if (ConfMan.hasKey("render_mode"))
|
||||
opt.renderMode = Common::parseRenderMode(ConfMan.get("render_mode").c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user