diff options
| author | Emill <emil.lenngren@gmail.com> | 2022-05-21 19:22:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-21 13:22:25 -0400 |
| commit | e56af6a7a3e9d10b3c55296e6983d53ad536f71e (patch) | |
| tree | b0cdea75220f42c28276deb97cfaf4237eabc25f /soh/src/code | |
| parent | b359d642f481e45c103709e26b31d0209e5daaf9 (diff) | |
Redesign hooks mechanism (#352)
* Redesign hooks mechanism
* Use reference instead of copy
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/audioMgr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/soh/src/code/audioMgr.c b/soh/src/code/audioMgr.c index 5b46ad8eb..e8c7be032 100644 --- a/soh/src/code/audioMgr.c +++ b/soh/src/code/audioMgr.c @@ -108,9 +108,7 @@ void AudioMgr_Init(AudioMgr* audioMgr, void* stack, OSPri pri, OSId id, SchedCon AudioLoad_SetDmaHandler(DmaMgr_DmaHandler); Audio_InitSound(); osSendMesg(&audioMgr->unk_C8, NULL, OS_MESG_BLOCK); - bind_hook(AUDIO_INIT); - init_hook(0); - call_hook(0); + ModInternal_ExecuteAudioInitHooks(); // Removed due to crash //IrqMgr_AddClient(audioMgr->irqMgr, &irqClient, &audioMgr->unk_74); hasInitialized = true; |
