Permalink
Browse files

MSU1: clear play/repeat flags on track change

1 parent b9d88da commit 88d876d0ea61cc25ed9ccfac9d72f20f5b45bdeb @mrehkopf committed Oct 24, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/msu1.c
View
@@ -36,6 +36,7 @@ void prepare_audio_track(uint16_t msu_track, uint32_t audio_offset) {
DBG_MSU1 printf("filename: %s\n", file_buf);
dac_pause();
dac_reset();
+ set_msu_status(MSU_SNES_STATUS_CLEAR_AUDIO_PLAY | MSU_SNES_STATUS_CLEAR_AUDIO_REPEAT);
if(f_open(&file_handle, (const TCHAR*)file_buf, FA_READ) == FR_OK) {
file_handle.cltbl = pcm_cltbl;
pcm_cltbl[0] = CLTBL_SIZE;

0 comments on commit 88d876d

Please sign in to comment.