OSDN Git Service

[VM][FM77AV20][MAINIO][DMA] Fix lacked interrupt detecting at $FD03 when DMA-Interrup...
authorK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 1 Oct 2015 16:59:31 +0000 (01:59 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Thu, 1 Oct 2015 16:59:31 +0000 (01:59 +0900)
source/src/vm/fm7/fm7_mainio.cpp

index 6722eaa..842920b 100644 (file)
@@ -923,6 +923,9 @@ void FM7_MAINIO::write_signal(int id, uint32 data, uint32 mask)
        
        extirq = irqstat_fdc | intstat_opn | intstat_whg | intstat_thg;
        extirq = extirq | intstat_syndet | intstat_rxrdy | intstat_txrdy;
+#if defined(HAS_DMA)
+       extirq = extirq | intstat_dma;
+#endif   
        if(extirq) {
                irqstat_reg0 &= ~0x08;
        } else {