summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sharc/sharcdma.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sharc/sharcdma.hxx')
-rw-r--r--src/devices/cpu/sharc/sharcdma.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sharc/sharcdma.hxx b/src/devices/cpu/sharc/sharcdma.hxx
index 63ea0b85c38..e0df2cb5e54 100644
--- a/src/devices/cpu/sharc/sharcdma.hxx
+++ b/src/devices/cpu/sharc/sharcdma.hxx
@@ -335,7 +335,7 @@ TIMER_CALLBACK_MEMBER(adsp21062_device::sharc_dma_callback)
}
dma_op(channel);
- if (m_core->dma_op[channel].chain_ptr != 0)
+ if ((m_core->dma_op[channel].chain_ptr & 0x1ffff) != 0)
{
schedule_chained_dma_op(channel, m_core->dma_op[channel].chain_ptr, m_core->dma_op[channel].chained_direction);
}