From 9339f3413f3a03ee482197c93f23452bab03c380 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 29 Dec 2017 20:54:10 -0500 Subject: [PATCH] Liberalises the end-of-file test for MSX ASCII. From: must be back padded with 0x1a to merely must contain 0x1a. --- StaticAnalyser/MSX/Tape.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/StaticAnalyser/MSX/Tape.cpp b/StaticAnalyser/MSX/Tape.cpp index 5cfb4bc20..fa49afe90 100644 --- a/StaticAnalyser/MSX/Tape.cpp +++ b/StaticAnalyser/MSX/Tape.cpp @@ -77,13 +77,15 @@ std::vector StaticAnalyser::MSX::GetFiles(const std::shared_ptr(byte)); } if(c != -1) break; - if(file.data.back() == 0x1a) { + if(contains_end_of_file) { files.push_back(std::move(file)); break; }