summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-12-12 07:24:54 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-12-12 07:24:54 +0100
commitbbce75b7165d32123f72e32bc1368d8953382ba6 (patch)
tree58f7b8407e645785c6e0079a8cf4b1e2155168d1
parent80c49f96e6d8bd8323fd639b6ba2aee821070409 (diff)
downloadmame-bbce75b7165d32123f72e32bc1368d8953382ba6.tar.xz
mame-bbce75b7165d32123f72e32bc1368d8953382ba6.zip
diexec.cpp: fixed save state regression (nw)
-rw-r--r--src/emu/diexec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/diexec.cpp b/src/emu/diexec.cpp
index 842f52b10ab..2fa82809c78 100644
--- a/src/emu/diexec.cpp
+++ b/src/emu/diexec.cpp
@@ -413,6 +413,7 @@ void device_execute_interface::interface_post_start()
// it's more efficient and causes less clutter to save these this way
device().save_item(STRUCT_MEMBER(m_input, m_stored_vector));
device().save_item(STRUCT_MEMBER(m_input, m_curvector));
+ device().save_item(STRUCT_MEMBER(m_input, m_curstate));
// fill in the input states and IRQ callback information
for (int line = 0; line < ARRAY_LENGTH(m_input); line++)