trunk/src/emu/video/315_5124.c
| r20220 | r20221 | |
| 602 | 602 | if (reg_num == 1) |
| 603 | 603 | { |
| 604 | 604 | m_check_vint_timer->adjust( m_screen->time_until_pos( m_screen->vpos(), VINT_HPOS) ); |
| 605 | |
| 606 | // |
| 607 | // When running eagles5 on the ssm2kr driver the irq_state is 1 because of some |
| 608 | // previos HINTs that occured. eagles5 sets register 01 to 0x02 and expects |
| 609 | // the irq state to be cleared after that. |
| 610 | // The following bit of code takes care of that. |
| 611 | // |
| 612 | if ((m_status & STATUS_VINT) && !(m_reg[0x01] & 0x20)) |
| 613 | { |
| 614 | if (m_irq_state == 1) |
| 615 | { |
| 616 | m_irq_state = 0; |
| 617 | |
| 618 | if ( !m_cb_int.isnull() ) |
| 619 | { |
| 620 | m_cb_int(CLEAR_LINE); |
| 621 | } |
| 622 | } |
| 623 | } |
| 624 | |
| 605 | 625 | } |
| 606 | 626 | m_addrmode = 0; |
| 607 | 627 | break; |