Remove unused var

This commit is contained in:
tomcw 2023-09-30 19:56:55 +01:00
parent d90aef6a6e
commit 3569600c6d
2 changed files with 1 additions and 5 deletions

View File

@ -386,7 +386,7 @@ void Disk2InterfaceCard::ReadTrack(const int drive, ULONG uExecutedCycles)
}
else // WOZ && Flux track
{
// Scan from start until we get to the correct bitCell position - req'd for cross-track sync (eg. Sirius' Fly Wars)
// Scan from start until we get to the correct bitCell position - req'd for any cross-track sync
pFloppy->m_byte = 0;
UINT totalZeroTickCount = 0;
do
@ -399,8 +399,6 @@ void Disk2InterfaceCard::ReadTrack(const int drive, ULONG uExecutedCycles)
#if LOG_DISK_WOZ_READTRACK
LOG_DISK("T%05.2f: %04X->%04X, Len=%04X (flux)\n", pDrive->m_phasePrecise / 2, currentBitPosition, pFloppy->m_bitOffset, pFloppy->m_bitCount);
#endif
memset(&pDrive->m_headWindowFlux, 0, sizeof(pDrive->m_headWindowFlux));
}
pFloppy->m_trackimagedata = (pFloppy->m_nibbles != 0);

View File

@ -122,7 +122,6 @@ public:
m_lastStepperCycle = 0;
m_motorOnCycle = 0;
m_headWindow = 0;
memset(&m_headWindowFlux, 0, sizeof(m_headWindowFlux));
m_spinning = 0;
m_writelight = 0;
m_disk.clear();
@ -135,7 +134,6 @@ public:
unsigned __int64 m_lastStepperCycle;
unsigned __int64 m_motorOnCycle;
BYTE m_headWindow;
uint32_t m_headWindowFlux[4]; // 32 bits / 4us (0.125ms x 8 x 4 = 4us)
DWORD m_spinning;
DWORD m_writelight;
FloppyDisk m_disk;