From 0d02210d139e2e889d91d80015d54c5186dc347b Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 10 May 2017 21:46:47 +0200 Subject: [PATCH] fixed bug with broken tape display when pausing in ffwd/warp/etc. modes --- src/tape.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/tape.c b/src/tape.c index f0a8f02d..a8ac4cea 100644 --- a/src/tape.c +++ b/src/tape.c @@ -376,15 +376,18 @@ void DrawVideoDisplayCurrentState() { state |= VIDEO_STATE_PLAY_ON; - if (tape.deactivate_display) - state |= VIDEO_STATE_WARP2_ON; - else if (tape.warp_forward) - state |= VIDEO_STATE_WARP_ON; - else if (tape.fast_forward) - state |= VIDEO_STATE_FFWD_ON; - - if (tape.pause_before_end) - state |= VIDEO_STATE_PBEND_ON; + if (!tape.pausing) + { + if (tape.deactivate_display) + state |= VIDEO_STATE_WARP2_ON; + else if (tape.warp_forward) + state |= VIDEO_STATE_WARP_ON; + else if (tape.fast_forward) + state |= VIDEO_STATE_FFWD_ON; + + if (tape.pause_before_end) + state |= VIDEO_STATE_PBEND_ON; + } } // draw labels and symbols separately to prevent labels overlapping symbols -- 2.34.1