summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_port.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-03-18 02:01:28 +0100
committer hap <happppp@users.noreply.github.com>2024-03-18 02:04:44 +0100
commitacf309c9b279c07b92dc1f40d635df3384bec656 (patch)
treec9527f9aeb9ab45802745789efeda74580ca911e /src/devices/cpu/h8/h8_port.cpp
parentf966e52e6e4427f3134c281d5a9bf428125a79a9 (diff)
h8: add more variables to savestate,
h8_intc: fix issue with multiple pending edge triggered irq
Diffstat (limited to 'src/devices/cpu/h8/h8_port.cpp')
-rw-r--r--src/devices/cpu/h8/h8_port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h8/h8_port.cpp b/src/devices/cpu/h8/h8_port.cpp
index 87253cd3eb0..782f5439646 100644
--- a/src/devices/cpu/h8/h8_port.cpp
+++ b/src/devices/cpu/h8/h8_port.cpp
@@ -98,9 +98,9 @@ void h8_port_device::update_output()
void h8_port_device::device_start()
{
save_item(NAME(m_ddr));
- save_item(NAME(m_dr));
save_item(NAME(m_pcr));
save_item(NAME(m_odr));
+ save_item(NAME(m_dr));
save_item(NAME(m_last_output));
m_last_output = -1;