mirror of
https://github.com/holub/mame
synced 2025-06-08 13:53:52 +03:00
heathzenith/mms77316_fdc.cpp: Suppress side effects of data reads for debugger accesses. (#12627)
This commit is contained in:
parent
1aa8abc3e5
commit
6435d1b7b5
@ -151,8 +151,11 @@ u8 mms77316_fdc_device::data_r()
|
|||||||
{
|
{
|
||||||
LOGBURST("%s: burst_mode setting wait state\n", FUNCNAME);
|
LOGBURST("%s: burst_mode setting wait state\n", FUNCNAME);
|
||||||
|
|
||||||
|
if (!machine().side_effects_disabled())
|
||||||
|
{
|
||||||
m_wait_cb(ASSERT_LINE);
|
m_wait_cb(ASSERT_LINE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
data = m_fdc->data_r();
|
data = m_fdc->data_r();
|
||||||
|
Loading…
Reference in New Issue
Block a user