summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/sb16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/sb16.cpp')
-rw-r--r--src/devices/bus/isa/sb16.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/bus/isa/sb16.cpp b/src/devices/bus/isa/sb16.cpp
index 9f07573f46f..30d0a6f8950 100644
--- a/src/devices/bus/isa/sb16.cpp
+++ b/src/devices/bus/isa/sb16.cpp
@@ -168,9 +168,10 @@ void sb16_lle_device::ctrl8_w(uint8_t data)
*/
if(data & 4)
{
- m_dma8_cnt = m_dma8_len + 1;
+ m_dma8_cnt = m_dma8_len;
if (!(BIT(m_mode, 6)))
m_dma8_cnt >>= 1;
+ m_dma8_cnt ++;
m_dma8_done = false;
}
if(!(data & 2) || !(m_ctrl16 & 2))
@@ -211,9 +212,10 @@ void sb16_lle_device::ctrl16_w(uint8_t data)
*/
if(data & 4)
{
- m_dma16_cnt = m_dma16_len + 1;
+ m_dma16_cnt = m_dma16_len;
if (!(BIT(m_mode, 7)))
m_dma16_cnt >>= 1;
+ m_dma16_cnt ++;
m_dma16_done = false;
}
if(!(data & 2) || !(m_ctrl8 & 2))