Use names from 1996 sources (#437)

This commit is contained in:
Christian Semmler
2024-01-14 16:49:11 -05:00
committed by GitHub
parent 7e9d3bde65
commit dd72bcc666
16 changed files with 63 additions and 63 deletions

View File

@@ -27,7 +27,7 @@ void MxMusicPresenter::Init()
void MxMusicPresenter::Destroy(MxBool p_fromDestructor)
{
if (MusicManager()) {
MusicManager()->RemovePresenter(*this);
MusicManager()->UnregisterPresenter(*this);
}
m_criticalSection.Enter();
@@ -46,7 +46,7 @@ MxResult MxMusicPresenter::AddToManager()
if (MusicManager()) {
result = SUCCESS;
MusicManager()->AddPresenter(*this);
MusicManager()->RegisterPresenter(*this);
}
return result;

View File

@@ -9,7 +9,7 @@ DECOMP_SIZE_ASSERT(MxSoundPresenter, 0x54)
void MxSoundPresenter::Destroy(MxBool p_fromDestructor)
{
if (MSoundManager())
MSoundManager()->RemovePresenter(*this);
MSoundManager()->UnregisterPresenter(*this);
this->m_criticalSection.Enter();
MxMediaPresenter::Init();
@@ -26,7 +26,7 @@ MxResult MxSoundPresenter::AddToManager()
if (MSoundManager()) {
ret = SUCCESS;
MSoundManager()->AddPresenter(*this);
MSoundManager()->RegisterPresenter(*this);
}
return ret;