SCI32: Fix crash starting KQ7 demo
Fixes Trac#10343.
This commit is contained in:
parent
5bcdc22f55
commit
673d25a9cd
1 changed files with 4 additions and 0 deletions
|
@ -704,6 +704,10 @@ bool GameFeatures::generalMidiOnly() {
|
|||
case GID_MOTHERGOOSEHIRES:
|
||||
return true;
|
||||
case GID_KQ7: {
|
||||
if (g_sci->isDemo()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
SoundResource sound(13, g_sci->getResMan(), detectDoSoundType());
|
||||
return (sound.getTrackByType(/* AdLib */ 0) == nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue