doing a check if read is safe, but think this need more investigation, why it was called by acia (nw)

This commit is contained in:
Miodrag Milanovic 2014-03-28 12:45:11 +00:00
parent bbc6e8fb9d
commit b4a432d51f

View File

@ -55,9 +55,9 @@ void oric_state::oric_refresh_ints()
if (m_is_telestrat==0)
{
/* oric 1 or oric atmos */
/* if floppy disc hardware is disabled, do not allow interrupts from it */
if ((m_io_floppy->read() & 0x07) == ORIC_FLOPPY_INTERFACE_NONE)
if ((m_io_floppy->manager().safe_to_read()) && ((m_io_floppy->read() & 0x07) == ORIC_FLOPPY_INTERFACE_NONE))
{
m_irqs &=~(1<<1);
}