feat(sound): implement SI2::GlueMusicUpdate

This commit is contained in:
fallenoak 2025-11-26 20:42:58 -06:00
parent d353be2a22
commit 6ef5254f2c
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -62,7 +62,16 @@ int32_t SI2::GetSoundKitID(const char* name) {
} }
int32_t SI2::GlueMusicUpdate(const void* data, void* param) { 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) { int32_t SI2::Init(int32_t a1) {