mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Suppoer IDE controllers without interrupt logic.
This commit is contained in:
parent
ad02d807f7
commit
06df783f0b
2
ide.cpp
2
ide.cpp
@ -380,7 +380,7 @@ static bool ide_interrupt_do (struct ide_hdf *ide)
|
||||
write_log (_T("IDE INT %02X -> %02X\n"), os, ide->regs.ide_status);
|
||||
ide->intdrq = false;
|
||||
ide->irq_delay = 0;
|
||||
if (ide->regs.ide_devcon & 2)
|
||||
if ((ide->regs.ide_devcon & 2) || ide->irq_inhibit)
|
||||
return false;
|
||||
ide->irq_new = true;
|
||||
ide->irq = 1;
|
||||
|
||||
@ -92,6 +92,7 @@ struct ide_hdf
|
||||
uae_u8 multiple_mode;
|
||||
int irq_delay;
|
||||
int irq;
|
||||
bool irq_inhibit;
|
||||
bool irq_new;
|
||||
int num;
|
||||
int blocksize;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user