From 709257a0c532b42e8aff1d4ef032e79d2e8a4c8b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 15 Aug 2017 20:16:56 -0400 Subject: [PATCH] Quick fix: also treat reception of sync as a reason not to stop looking for a data address mark. --- Components/8272/i8272.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/8272/i8272.cpp b/Components/8272/i8272.cpp index 2347b3617..aeb492b5d 100644 --- a/Components/8272/i8272.cpp +++ b/Components/8272/i8272.cpp @@ -205,7 +205,7 @@ void i8272::set_disk(std::shared_ptr disk, int drive) { set_data_mode(DataMode::Scanning); \ CONCAT(find_data, __LINE__): WAIT_FOR_EVENT((int)Event::Token | (int)Event::IndexHole); \ if(event_type == (int)Event::Token) { \ - if(get_latest_token().type == Token::Byte) goto CONCAT(find_data, __LINE__); \ + if(get_latest_token().type == Token::Byte || get_latest_token().type == Token::Sync) goto CONCAT(find_data, __LINE__); \ } #define READ_HEADER() \