[Scummvm-git-logs] scummvm master -> ef549ee5f7a4e456512128eb63521a3206f74a13

dreammaster noreply at scummvm.org
Tue Sep 23 10:13:25 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
ef549ee5f7 BAGEL: Fix music looping to use new function


Commit: ef549ee5f7a4e456512128eb63521a3206f74a13
    https://github.com/scummvm/scummvm/commit/ef549ee5f7a4e456512128eb63521a3206f74a13
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-23T03:13:18-07:00

Commit Message:
BAGEL: Fix music looping to use new function

Changed paths:
    engines/bagel/music.cpp


diff --git a/engines/bagel/music.cpp b/engines/bagel/music.cpp
index eaa47b50ee9..6fdd9a2d7f8 100644
--- a/engines/bagel/music.cpp
+++ b/engines/bagel/music.cpp
@@ -80,7 +80,7 @@ void MusicPlayer::play(CBofSound *sound) {
 		parser->setMidiDriver(this);
 		parser->setTimerRate(_driver->getBaseTempo());
 		parser->property(MidiParser::mpCenterPitchWheelOnUnload, 1);
-		parser->setLoopSection(sound->_dwRePlayStart, sound->_dwRePlayEnd);
+		parser->setLoopSectionMicroseconds(sound->_dwRePlayStart * 1000, sound->_dwRePlayEnd * 1000);
 		_parser = parser;
 
 		// TODO: Set channel volume




More information about the Scummvm-git-logs mailing list