From ca2a6aee59f8bf0960cca15e8f8d681f92bb1f11 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 1 May 2014 01:54:23 -0400 Subject: opl: Fix crash when using OPL music. The previous change to add the poll method to the music module interface introduced a crash, as the OPL music struct does not define a poll method. --- src/i_oplmusic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/i_oplmusic.c') diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c index 142e401a..678b275f 100644 --- a/src/i_oplmusic.c +++ b/src/i_oplmusic.c @@ -1479,6 +1479,7 @@ music_module_t music_opl_module = I_OPL_PlaySong, I_OPL_StopSong, I_OPL_MusicIsPlaying, + NULL, // Poll }; //---------------------------------------------------------------------- -- cgit v1.2.3