mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
Hard crash when not using adlib/pcspk in a Loom/MonkeyEGA is not nice, we should try to add a safe fallback mode at some point
svn-id: r26676
This commit is contained in:
parent
885f687ae5
commit
43779ab10c
@ -712,12 +712,16 @@ void ScummEngine::resetScummVars() {
|
||||
Common::File f;
|
||||
for (int i = 82; i < 85; i++) {
|
||||
sprintf(buf, "%d.LFL", i);
|
||||
if (!Common::File::exists(buf))
|
||||
if (!Common::File::exists(buf)) {
|
||||
// TODO: Instead of a hard error, try to fall back to adlib?
|
||||
error("Native MIDI support requires Roland patch from LucasArts, but %s is missing", buf);
|
||||
}
|
||||
}
|
||||
} else if (_game.id == GID_MONKEY_EGA) {
|
||||
if (!Common::File::exists("DISK09.LEC"))
|
||||
if (!Common::File::exists("DISK09.LEC")) {
|
||||
// TODO: Instead of a hard error, try to fall back to adlib?
|
||||
error("Native MIDI support requires Roland patch from LucasArts, but DISK09.LEC is missing");
|
||||
}
|
||||
}
|
||||
VAR(VAR_SOUNDCARD) = 4;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user