Add g_ prefix to is_audio_initialized

This commit is contained in:
Renato Rotenberg
2023-02-06 21:28:21 -03:00
parent a8daa21c23
commit 766c80a468
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
SM64PlaySoundFunctionPtr g_play_sound_func = NULL;
extern void play_sound( uint32_t soundBits, f32 *pos ) {
if ( is_audio_initialized ) {
if ( g_is_audio_initialized ) {
DEBUG_PRINT("$ play_sound(%d) request %d; pos %f %f %f\n", soundBits,sSoundRequestCount,pos[0],pos[1],pos[2]);
sSoundRequests[sSoundRequestCount].soundBits = soundBits;
sSoundRequests[sSoundRequestCount].position = pos;