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

criezy criezy at scummvm.org
Tue Apr 6 23:40:54 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:
a33c516266 AGS: Fix music type for MOD SOUNDCLIP


Commit: a33c5162668f23d257e00d61b8b3f00dfbdc1f67
    https://github.com/scummvm/scummvm/commit/a33c5162668f23d257e00d61b8b3f00dfbdc1f67
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-04-07T00:40:43+01:00

Commit Message:
AGS: Fix music type for MOD SOUNDCLIP

Changed paths:
    engines/ags/engine/media/audio/sound.cpp


diff --git a/engines/ags/engine/media/audio/sound.cpp b/engines/ags/engine/media/audio/sound.cpp
index 3b36edbcf0..7c6bdca277 100644
--- a/engines/ags/engine/media/audio/sound.cpp
+++ b/engines/ags/engine/media/audio/sound.cpp
@@ -125,7 +125,7 @@ SOUNDCLIP *my_load_mod(const AssetPath &asset_name, bool repeat) {
 			return nullptr;
 		}
 
-		return new SoundClipWave<MUS_OGG>(audioStream, 255, repeat);
+		return new SoundClipWave<MUS_MOD>(audioStream, 255, repeat);
 	} else {
 		return nullptr;
 	}




More information about the Scummvm-git-logs mailing list