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:
Wilbert Pol 2014-04-29 20:03:03 +00:00
parent e51f93187c
commit 1cfcad0d3f

View File

@ -129,7 +129,15 @@ void wd_fdc_t::soft_reset()
status_type_1 = true;
last_dir = 1;
intrq = false;
if (!intrq_cb.isnull())
{
intrq_cb(intrq);
}
drq = false;
if (!drq_cb.isnull())
{
drq_cb(drq);
}
hld = false;
intrq_cond = 0;
live_abort();