summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-10-27 21:44:04 +0100
committer hap <happppp@users.noreply.github.com>2019-10-27 21:44:18 +0100
commit6933beea82f76df217c928a402724c476e5d0484 (patch)
tree942a95439691c49cde3e5de017ff53c401b4191d
parent58e9baaa060dd162cf54222afa89e0791826bca8 (diff)
chessm: savestates (nw)
-rw-r--r--src/devices/bus/isa/chessmdr.cpp2
-rw-r--r--src/devices/bus/isa/chessmsr.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/bus/isa/chessmdr.cpp b/src/devices/bus/isa/chessmdr.cpp
index 8af46575421..6b278e79000 100644
--- a/src/devices/bus/isa/chessmdr.cpp
+++ b/src/devices/bus/isa/chessmdr.cpp
@@ -35,6 +35,8 @@ void isa8_chessmdr_device::device_start()
{
set_isa_device();
m_installed = false;
+
+ save_item(NAME(m_installed));
}
diff --git a/src/devices/bus/isa/chessmsr.cpp b/src/devices/bus/isa/chessmsr.cpp
index fb1485045dc..206dd8e15e4 100644
--- a/src/devices/bus/isa/chessmsr.cpp
+++ b/src/devices/bus/isa/chessmsr.cpp
@@ -46,6 +46,10 @@ void isa8_chessmsr_device::device_start()
{
set_isa_device();
m_installed = false;
+
+ save_item(NAME(m_installed));
+ save_item(NAME(m_suspended));
+ save_item(NAME(m_ram_offset));
}