(MESS) c64: Fixed crash? (nw)

This commit is contained in:
Curt Coder 2013-02-09 16:31:48 +00:00
parent 8d418b36ce
commit 8d3042b2a4

View File

@ -40,7 +40,7 @@
void c64_state::check_interrupts()
{
int restore = !BIT(m_restore->read_safe(0xff), 0);
int restore = m_restore ? !BIT(m_restore->read(), 0) : CLEAR_LINE;
int irq = m_cia1_irq || m_vic_irq || m_exp_irq;
int nmi = m_cia2_irq || restore || m_exp_nmi;