This adds the previously reverted change of commit
31df2f98 again,
but should fix the problems that it caused when unpausing the tape
after replaying until the end of the tape and entering pause mode.
ModifyPauseButtons();
}
+
+ // stop tape when leaving auto-pause after completely replaying tape
+ if (tape.playing && !tape.pausing && tape.counter >= tape.length)
+ TapeStop();
}
void TapeStartPlaying(void)
if (tape.counter >= tape.length) // end of tape reached
{
- if (tape.warp_forward && !tape.auto_play)
+ if (!tape.auto_play)
{
TapeStopWarpForward();
TapeTogglePause(TAPE_TOGGLE_MANUAL);