fixed pausing tape after replaying
authorHolger Schemel <info@artsoft.org>
Sat, 28 Jan 2023 12:23:49 +0000 (13:23 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 28 Jan 2023 12:23:49 +0000 (13:23 +0100)
This fixes a problem with automatically pausing tape at the end of a
tape without "auto-record after replay" being activated, which leads
to a pause mode that cannot be left besides pressing "stop tape".

This change reverts commit 31df2f98.

src/tape.c

index 0a7dffc3db840681520a6c5fdb371cb155009772..55991ce9b574f03d04789d24fb4cfb93ddad4a60 100644 (file)
@@ -1007,7 +1007,7 @@ byte *TapePlayAction(void)
 
   if (tape.counter >= tape.length)     // end of tape reached
   {
-    if (!tape.auto_play)
+    if (tape.warp_forward && !tape.auto_play)
     {
       TapeStopWarpForward();
       TapeTogglePause(TAPE_TOGGLE_MANUAL);