[Scummvm-git-logs] scummvm branch-2-5 -> a89f40938728094c67672d3f50e9424c38cec732
mgerhardy
noreply at scummvm.org
Sat Nov 27 19:37:31 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
a89f409387 TWINE: fixed dotemu cd track issue
Commit: a89f40938728094c67672d3f50e9424c38cec732
https://github.com/scummvm/scummvm/commit/a89f40938728094c67672d3f50e9424c38cec732
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-11-27T20:37:25+01:00
Commit Message:
TWINE: fixed dotemu cd track issue
Changed paths:
engines/twine/audio/music.cpp
diff --git a/engines/twine/audio/music.cpp b/engines/twine/audio/music.cpp
index 7e6373cf5f..c230970cc0 100644
--- a/engines/twine/audio/music.cpp
+++ b/engines/twine/audio/music.cpp
@@ -128,6 +128,9 @@ bool Music::playTrackMusicCd(int32 track) {
return false;
}
AudioCDManager *cdrom = g_system->getAudioCDManager();
+ if (_engine->isDotEmuEnhanced()) {
+ track += 1;
+ }
return cdrom->play(track, 1, 0, 0);
}
More information about the Scummvm-git-logs
mailing list