From 21bdc7e68cd0565ed5120dae0baadcc7905d5f88 Mon Sep 17 00:00:00 2001 From: tomascz Date: Sun, 8 Dec 2024 20:24:24 +0100 Subject: [PATCH] [#80] Support for HxC Floppy Emulator *.HFE images (Part 13.1: Fixed) --- Main/src/HFE.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Main/src/HFE.cpp b/Main/src/HFE.cpp index 926bad6..de5f7e4 100644 --- a/Main/src/HFE.cpp +++ b/Main/src/HFE.cpp @@ -336,7 +336,7 @@ formatError: ::SetLastError(ERROR_BAD_FORMAT); PCBYTE p=bytes,const pLast=bytes.end(); TLogTime tCell=GetCellTime( header.dataBitRate*1000 ); TLogTime tCurr=0; - for( BYTE nFollowingDataBitsToSkip=0,fuzzyQuot=100; p=TOpCode::NOP){ // invalid OpCode ? @@ -367,7 +367,7 @@ formatError: ::SetLastError(ERROR_BAD_FORMAT); if ((char)data<0) trw.AddTime( tCurr + i*tCell+tFuzzy ); tCurr+=tSpan; - nFollowingDataBitsToSkip=0, fuzzyQuot=100; + nFollowingDataBitsToSkip = fuzzyQuot = 0; break; } if (trw.GetIndexCount()<1)