i82371sb_isa_device & sis85c496_host_device can now redirect their IRQs.

This commit is contained in:
smf- 2024-10-26 13:10:36 +01:00
parent 49b3ee9254
commit 831f7b923d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);