mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
i82371sb_isa_device & sis85c496_host_device can now redirect their IRQs.
This commit is contained in:
parent
49b3ee9254
commit
831f7b923d
@ -973,7 +973,7 @@ int i82371sb_isa_device::pin_mapper(int pin)
|
||||
|
||||
void i82371sb_isa_device::irq_handler(int line, int state)
|
||||
{
|
||||
if(line < 0 && line >= 16)
|
||||
if(line < 0 || line >= 16)
|
||||
return;
|
||||
|
||||
logerror("irq_handler %d %d\n", line, state);
|
||||
|
@ -622,7 +622,7 @@ int sis85c496_host_device::pin_mapper(int pin)
|
||||
|
||||
void sis85c496_host_device::irq_handler(int line, int state)
|
||||
{
|
||||
if(line < 0 && line >= 16)
|
||||
if(line < 0 || line >= 16)
|
||||
return;
|
||||
|
||||
logerror("irq_handler %d %d\n", line, state);
|
||||
|
Loading…
Reference in New Issue
Block a user