Skip to content

Commit

Permalink
stop all channels when music loops
Browse files Browse the repository at this point in the history
  • Loading branch information
elhobbs committed May 2, 2019
1 parent f8e545e commit da69c37
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Debug/prboom.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
 make[1]: Nothing to be done for `all'.
 make[1]: Nothing to be done for 'all'.
1 change: 1 addition & 0 deletions arm11/source/musplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,7 @@ void mus_play_timer(void) {
{ // end of song
//if (mus->loopcount &&
// (mus->loopcount == -1U || --mus->loopcount)) // -1: loop forever
OPLstopMusic(mus);
MUSdata = score;
//else
// mus->state = ST_STOPPED;
Expand Down
Binary file modified prboom3ds.3ds
Binary file not shown.
Binary file modified prboom3ds.3dsx
Binary file not shown.
Binary file modified prboom3ds.cia
Binary file not shown.

0 comments on commit da69c37

Please sign in to comment.