mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
fd_fdc: Fix the FM sync detection [Michael Zapf]
This commit is contained in:
parent
8f1e301775
commit
02f9159cfa
@ -1383,8 +1383,8 @@ void wd_fdc_t::live_run(attotime limit)
|
||||
cur_live.state = READ_HEADER_BLOCK_HEADER;
|
||||
}
|
||||
|
||||
if(dden && (cur_live.shift_reg == 0xf57e || cur_live.shift_reg == 0xf57f)) {
|
||||
cur_live.crc = cur_live.shift_reg == 0xf57e ? 0xef21 : 0xff00;
|
||||
if(dden && cur_live.shift_reg == 0xf57e) {
|
||||
cur_live.crc = 0xef21;
|
||||
cur_live.data_separator_phase = false;
|
||||
cur_live.bit_counter = 0;
|
||||
if(main_state == READ_ID)
|
||||
|
Loading…
Reference in New Issue
Block a user