From 6ef5254f2c8c0e00c2c0db840f1be1925853bd21 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Wed, 26 Nov 2025 20:42:58 -0600 Subject: [PATCH] feat(sound): implement SI2::GlueMusicUpdate --- src/sound/SI2.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/sound/SI2.cpp b/src/sound/SI2.cpp index de95a55..33f3694 100644 --- a/src/sound/SI2.cpp +++ b/src/sound/SI2.cpp @@ -62,7 +62,16 @@ int32_t SI2::GetSoundKitID(const char* name) { } int32_t SI2::GlueMusicUpdate(const void* data, void* param) { - // TODO + if (!SI2::IsPlaying(&s_GlueMusicObject)) { + SoundKitProperties properties; + properties.ResetToDefaults(); + properties.m_type = 1; + properties.uint28 = 0; + + SI2::PlaySoundKit(s_GlueMusicName, 0, &s_GlueMusicObject, &properties); + } + + return 1; } int32_t SI2::Init(int32_t a1) {