From 5dcb1d521c573023f5abc0d6a56fae8537ce2cff Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 25 Feb 2024 15:20:12 +0000 Subject: [PATCH] DumpTraceWOZFlux(): add ASSERT --- source/Disk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Disk.cpp b/source/Disk.cpp index e814820f..02717d73 100644 --- a/source/Disk.cpp +++ b/source/Disk.cpp @@ -1620,7 +1620,7 @@ void Disk2InterfaceCard::DataLatchReadWOZFlux(WORD pc, WORD addr, UINT ticks) if (dbgWOZ) { dbgWOZ = 0; - DumpTrackWOZFlux(floppy); // Enable as necessary + DumpTrackWOZFlux(floppy); // Enable as necessary (TODO: Fix for using LSS) } #endif @@ -2255,6 +2255,7 @@ void Disk2InterfaceCard::DumpTrackWOZFlux(FloppyDisk floppy) // pass a copy of m UpdateBitStreamOffsets(floppy); NextFluxData(floppy); // Post: m_bitCellCount >= 1 + _ASSERT(floppy.m_bitCellCount); // TODO: Fix if using LSS int nibbleStartBitOffset = -1;