Skip to content

Commit cf30374

Browse files
committed
Use wasmTable.get instead of dynCall
1 parent 4687c8c commit cf30374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

music_html5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static int MusicHTML5_Open(const SDL_AudioSpec *spec)
148148
context = parseInt(audio.dataset.context);
149149
}
150150

151-
dynCall("vi", wasmMusicStopped, [context]);
151+
wasmTable.get(wasmMusicStopped)(context);
152152
},
153153

154154
getNewId: function() {

0 commit comments

Comments
 (0)