Exposed registering a handler for playing sounds.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user