mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
xbox.cpp: irq acknowledge was wrong (nw)
This commit is contained in:
parent
82683676ad
commit
80ad9c66cc
@ -1425,11 +1425,7 @@ READ8_MEMBER(xbox_base_state::get_slave_ack)
|
||||
IRQ_CALLBACK_MEMBER(xbox_base_state::irq_callback)
|
||||
{
|
||||
int r = 0;
|
||||
r = xbox_base_devs.pic8259_2->acknowledge();
|
||||
if (r == 0)
|
||||
{
|
||||
r = xbox_base_devs.pic8259_1->acknowledge();
|
||||
}
|
||||
r = xbox_base_devs.pic8259_1->acknowledge();
|
||||
if (debug_irq_active)
|
||||
debug_generate_irq(debug_irq_number, false);
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user