This commit is contained in:
Christian Semmler 2024-06-02 11:01:05 -04:00
parent 9488a37d1b
commit 04b1e0aae3
2 changed files with 2 additions and 2 deletions

View File

@ -57,10 +57,11 @@ class LegoCacheSoundManager {
LegoCacheSound* FindSoundByKey(const char* p_key);
LegoCacheSound* ManageSoundEntry(LegoCacheSound* p_sound);
LegoCacheSound* Play(const char* p_key, const char* p_name, MxBool p_looping);
LegoCacheSound* Play(LegoCacheSound* p_sound, const char* p_name, MxBool p_looping);
void Destroy(LegoCacheSound*& p_sound);
private:
LegoCacheSound* Play(LegoCacheSound* p_sound, const char* p_name, MxBool p_looping);
Set100d6b4c m_set; // 0x04
List100d6b4c m_list; // 0x14
};

View File

@ -106,7 +106,6 @@ LegoCacheSound* LegoCacheSoundManager::ManageSoundEntry(LegoCacheSound* p_sound)
// FUNCTION: LEGO1 0x1003dae0
LegoCacheSound* LegoCacheSoundManager::Play(const char* p_key, const char* p_name, MxBool p_looping)
{
// DECOMP: Second parameter is LegoRoi::m_name (0xe4)
return Play(FindSoundByKey(p_key), p_name, p_looping);
}