iOS: Ultima 8 crashes when Fluidsynth has no soundfont
|Reported by:||DominusExult||Owned by:||OMGPizzaGuy|
|Cc:||Game:||Ultima VIII: Pagan|
with default configuration add Ultima 8 and then start it.
There will be a ScummVM message that Fluidsynth doesn't work without a soundfont and therefore music is disabled.
When you acknowledge this the intro of Ultima 8 starts. At the point when the Guardian lets the Avatar fall and the view would change to him falling into the water ScummVM crashes. Also crashes a lot if you skip the intro.
Xcode traces the crash back to
audio/mt32gm.cpp::985 _controlData[i]->sustain = false;
If I disable MIDI music in the general settings OR provide and set a soundfont Fluidsynth the game works without crashing.
My theory without knowing much of ScummVM's code is that music is not actually getting disabled after the message of missing soundfont but switches to the MT32 emulation and then for some reason crashes.