DumpTraceWOZFlux(): add ASSERT

This commit is contained in:
tomcw 2024-02-25 15:20:12 +00:00
parent 1608bf325d
commit 5dcb1d521c
1 changed files with 2 additions and 1 deletions

View File

@ -1620,7 +1620,7 @@ void Disk2InterfaceCard::DataLatchReadWOZFlux(WORD pc, WORD addr, UINT ticks)
if (dbgWOZ) if (dbgWOZ)
{ {
dbgWOZ = 0; dbgWOZ = 0;
DumpTrackWOZFlux(floppy); // Enable as necessary DumpTrackWOZFlux(floppy); // Enable as necessary (TODO: Fix for using LSS)
} }
#endif #endif
@ -2255,6 +2255,7 @@ void Disk2InterfaceCard::DumpTrackWOZFlux(FloppyDisk floppy) // pass a copy of m
UpdateBitStreamOffsets(floppy); UpdateBitStreamOffsets(floppy);
NextFluxData(floppy); // Post: m_bitCellCount >= 1 NextFluxData(floppy); // Post: m_bitCellCount >= 1
_ASSERT(floppy.m_bitCellCount); // TODO: Fix if using LSS
int nibbleStartBitOffset = -1; int nibbleStartBitOffset = -1;