Opened 16 months ago
Closed 16 months ago
#13133 closed defect (fixed)
TWINE: LBA1 DotEmu Enhanced (Steam) play wrong midi tracks
|Reported by:||antoniou79||Owned by:||mgerhardy|
|Version:||Keywords:||Dotemu, Steam, midi|
|Cc:||Game:||Little Big Adventure|
Tested on Windows 10 x64, latest 64bit build from master and also on local build.
It seems that for cd music (like the one in the starting menu screen), the engine plays the correct track --as far as I've seen, the ScummVM engine already offsets the track id in order to play the correct track from the available mp3 (or ogg) files that the Steam / DotEmu release includes.
This is not done for the midi tracks and it seems that it should also be done there. As is, the wrong midi tracks seems to be playing. For example, wrong midi tracks play for the Adeline logo, and also starting a new game (at the prison map). In fact these track's id are again offset by one (1) from the ones that should play.
The following edit in music.cpp seems to fix the issue, but I'd rather someone more familiar with the engine looks into it too.
const Common::String &trackName = Common::String::format("lba1-%02i", midiIdx + 1);
Change History (1)
comment:1 by , 16 months ago
|Status:||new → closed|
Fixed - thanks a lot