From 127b584e794ffe5f3ca0efb6a81060ae21f2c577 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 17 Jul 2017 07:52:28 -0400 Subject: [PATCH] Ensured that resetting a TZX resets the is-at-end flag. --- Storage/Tape/Formats/TZX.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Storage/Tape/Formats/TZX.cpp b/Storage/Tape/Formats/TZX.cpp index be1b0dbfd..71cb9cea1 100644 --- a/Storage/Tape/Formats/TZX.cpp +++ b/Storage/Tape/Formats/TZX.cpp @@ -35,6 +35,7 @@ TZX::TZX(const char *file_name) : void TZX::virtual_reset() { clear(); + set_is_at_end(false); fseek(file_, 0x0a, SEEK_SET); }