mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
wd_fdc.c: Also call the intrq and drq callbacks when drq and/or intrq are cleared during a reset. (nw)
This commit is contained in:
parent
e51f93187c
commit
1cfcad0d3f
@ -129,7 +129,15 @@ void wd_fdc_t::soft_reset()
|
|||||||
status_type_1 = true;
|
status_type_1 = true;
|
||||||
last_dir = 1;
|
last_dir = 1;
|
||||||
intrq = false;
|
intrq = false;
|
||||||
|
if (!intrq_cb.isnull())
|
||||||
|
{
|
||||||
|
intrq_cb(intrq);
|
||||||
|
}
|
||||||
drq = false;
|
drq = false;
|
||||||
|
if (!drq_cb.isnull())
|
||||||
|
{
|
||||||
|
drq_cb(drq);
|
||||||
|
}
|
||||||
hld = false;
|
hld = false;
|
||||||
intrq_cond = 0;
|
intrq_cond = 0;
|
||||||
live_abort();
|
live_abort();
|
||||||
|
Loading…
Reference in New Issue
Block a user