mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-04 02:09:35 -04:00
Fix UB in amgr_create
This commit is contained in:
+4
-4
@@ -92,11 +92,11 @@ void amgrCreate(ALSynConfig *config)
|
||||
config->params[i] = (s32 *) sp068;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
n_alInit(&g_AudioManager.g, config);
|
||||
func00030bfc(0, 60);
|
||||
osCreateThread(&g_AudioManager.thread, THREAD_AUDIO, &amgrMain, 0, g_AudioSp, THREADPRI_AUDIO);
|
||||
n_alInit(&g_AudioManager.g, config);
|
||||
func00030bfc(0, 60);
|
||||
osCreateThread(&g_AudioManager.thread, THREAD_AUDIO, &amgrMain, 0, g_AudioSp, THREADPRI_AUDIO);
|
||||
}
|
||||
}
|
||||
|
||||
s8 g_AudioIsThreadRunning = false;
|
||||
|
||||
Reference in New Issue
Block a user