upd765: clear wc if the found sector has the correct cyl in the address field

This commit is contained in:
cracyc 2022-12-16 19:36:36 -06:00
parent d464f33772
commit 65560457ac

View File

@ -1897,6 +1897,7 @@ void upd765_family_device::read_data_continue(floppy_info &fi)
return;
}
st1 &= ~ST1_ND;
st2 &= ~ST2_WC;
LOGRW("reading sector %02x %02x %02x %02x\n",
cur_live.idbuf[0],
cur_live.idbuf[1],