fixed bug with snapshot buttons not restored when tape is stopped when paused
authorHolger Schemel <info@artsoft.org>
Fri, 24 Mar 2017 16:49:39 +0000 (17:49 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:11 +0000 (23:21 +0100)
src/tape.c

index 2c0661a0871f4f5cbf1d6fc9991f98d500655ca4..abec7013f7b809c05a1eb6d29798b02a999e1c74 100644 (file)
@@ -914,6 +914,9 @@ byte *TapePlayAction()
 
 void TapeStop()
 {
+  if (tape.pausing)
+    TapeTogglePause(TAPE_TOGGLE_MANUAL);
+
   TapeStopRecording();
   TapeStopPlaying();