Exposed registering a handler for playing sounds.

This commit is contained in:
MeltyPlayer
2022-10-19 23:46:13 -05:00
parent babdc896b5
commit a179746889
5 changed files with 33 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "play_sound.h"
SM64PlaySoundFunctionPtr g_play_sound_func = NULL;
extern void play_sound( uint32_t soundBits, f32 *pos ) {
if ( g_play_sound_func ) {
g_play_sound_func(soundBits, pos);
}
}