mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +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)
|
IRQ_CALLBACK_MEMBER(xbox_base_state::irq_callback)
|
||||||
{
|
{
|
||||||
int r = 0;
|
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)
|
if (debug_irq_active)
|
||||||
debug_generate_irq(debug_irq_number, false);
|
debug_generate_irq(debug_irq_number, false);
|
||||||
return r;
|
return r;
|
||||||
|
Loading…
Reference in New Issue
Block a user