--- src/sfx/core.c.orig 2008-05-03 05:20:50.000000000 +1000 +++ src/sfx/core.c 2014-02-10 19:58:35.000000000 +1100 @@ -913,7 +913,7 @@ sfx_send_midi(sfx_state_t *self, song_ha break; default: sciprintf("Unexpected explicit MIDI command %02x\n", command); - return; + return SFX_ERROR; } if (tell)