Debugger: Update DISK INFO to show last nibble for non WOZ floppy image

This commit is contained in:
michaelangel007 2023-04-24 21:33:25 -07:00
parent d1856ade18
commit e402746423
1 changed files with 3 additions and 0 deletions

View File

@ -1149,6 +1149,9 @@ void __stdcall Disk2InterfaceCard::ReadWrite(WORD pc, WORD addr, BYTE bWrite, BY
#endif
}
// GH #1212 We have a non .WOZ disk, mirror so that GetCurrentShiftReg() returns last nibble read
m_shiftReg = m_floppyLatch;
if (++pFloppy->m_byte >= pFloppy->m_nibbles)
pFloppy->m_byte = 0;