From 9de83ac835aaf4d0212a3aa9859c5b0f61a72f76 Mon Sep 17 00:00:00 2001 From: Dirk Best Date: Wed, 10 Jun 2015 09:58:44 +0200 Subject: [PATCH] i8089: add support for wait for destination drq --- src/emu/cpu/i8089/i8089_channel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emu/cpu/i8089/i8089_channel.c b/src/emu/cpu/i8089/i8089_channel.c index eb5d49823c7..fe7666ac17c 100644 --- a/src/emu/cpu/i8089/i8089_channel.c +++ b/src/emu/cpu/i8089/i8089_channel.c @@ -312,7 +312,9 @@ int i8089_channel::execute_run() fatalerror("%s('%s'): dma translate requested\n", shortname(), tag()); case DMA_WAIT_FOR_DEST_DRQ: - fatalerror("%s('%s'): wait for destination drq not supported\n", shortname(), tag()); + if (m_drq) + m_dma_state = DMA_STORE; + break; case DMA_STORE: if (VERBOSE_DMA)