Enabled the new IRQ loss prevention measure in the PIC code that I left disabled the last time, seems to fix SHAMUS but I need feedback.
This commit is contained in:
@@ -168,7 +168,7 @@ find_best_interrupt(pic_t *dev)
|
||||
int i, j;
|
||||
int ret = -1;
|
||||
|
||||
#ifdef READ_LATCH
|
||||
#ifndef READ_LATCH
|
||||
if (dev->interrupt != 0x17) {
|
||||
/* We have an IRQ already latched, do not update status until it is unlatched in order to
|
||||
avoid IRQ loss. */
|
||||
@@ -415,7 +415,7 @@ pic_read(uint16_t addr, void *priv)
|
||||
dev->data_bus = dev->isr;
|
||||
#ifdef UNDEFINED_READ
|
||||
else
|
||||
dev->data_bus = dev->irr;
|
||||
dev->data_bus = 0x00;
|
||||
#endif
|
||||
}
|
||||
/* If A0 = 0, VIA shadow is disabled, and poll mode is disabled,
|
||||
|
Reference in New Issue
Block a user