summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i8089/i8089_channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i8089/i8089_channel.cpp')
-rw-r--r--src/devices/cpu/i8089/i8089_channel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/cpu/i8089/i8089_channel.cpp b/src/devices/cpu/i8089/i8089_channel.cpp
index 8d58a2aa4cc..02bb12daa8c 100644
--- a/src/devices/cpu/i8089/i8089_channel.cpp
+++ b/src/devices/cpu/i8089/i8089_channel.cpp
@@ -374,11 +374,10 @@ int i8089_channel_device::execute_run()
// do we need to read another byte?
if (BIT(m_r[PSW].w, 1) && !BIT(m_r[PSW].w, 0) && !m_store_hi)
{
+ m_store_hi = true;
+
if (CC_SYNC == 0x02)
- {
- m_store_hi = true;
m_dma_state = DMA_WAIT_FOR_DEST_DRQ;
- }
else
m_dma_state = DMA_STORE_BYTE_HIGH;
}