mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-03-21 02:31:19 +00:00
WOZ: fix obscure crash bug. (Fixes #1126)
This commit is contained in:
parent
09c09a1278
commit
3f40955306
@ -1450,6 +1450,12 @@ void Disk2InterfaceCard::DataShiftWriteWOZ(WORD pc, WORD addr, ULONG uExecutedCy
|
||||
return;
|
||||
}
|
||||
|
||||
if (!drive.m_spinning)
|
||||
return;
|
||||
|
||||
if (!floppy.m_trackimagedata) // GH#1126
|
||||
return;
|
||||
|
||||
#if LOG_DISK_WOZ_SHIFTWRITE
|
||||
LOG_DISK("T$%02X, bitOffset=%04X: %02X (%d bits)\n", drive.m_phase/2, floppy.m_bitOffset, m_shiftReg, bitCellRemainder);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user