summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_dma.cpp
diff options
context:
space:
mode:
author AJR <ariedlmayer@gmail.com>2024-12-08 15:50:58 -0500
committer AJR <ariedlmayer@gmail.com>2024-12-08 15:50:58 -0500
commitf94677ec4bf98d892b13e23efa6e23a94caa5fe3 (patch)
treece740fb0a552998c24994202cf5c92d4d2b324e0 /src/devices/cpu/h8/h8_dma.cpp
parent3d8a6a244f767ea7f5d2bc600baed95ba3b02222 (diff)
h8_dma: Handle forced aborts
Diffstat (limited to 'src/devices/cpu/h8/h8_dma.cpp')
-rw-r--r--src/devices/cpu/h8/h8_dma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h8/h8_dma.cpp b/src/devices/cpu/h8/h8_dma.cpp
index 3edb36c70e0..9ba510fff06 100644
--- a/src/devices/cpu/h8/h8_dma.cpp
+++ b/src/devices/cpu/h8/h8_dma.cpp
@@ -79,7 +79,7 @@ void h8gen_dma_device::start_stop_test()
} else {
if(m_dmach[i >> 1] && (m_dmach[i >> 1]->m_state[i & 1].m_flags & h8_dma_state::ACTIVE)) {
logerror("forced abort %d\n", i);
- exit(0);
+ m_dmach[i >> 1]->abort(i & 1);
}
}
}