summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k051649.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k051649.cpp')
-rw-r--r--src/devices/sound/k051649.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/devices/sound/k051649.cpp b/src/devices/sound/k051649.cpp
index 9a1f748580e..8e1aa25075f 100644
--- a/src/devices/sound/k051649.cpp
+++ b/src/devices/sound/k051649.cpp
@@ -77,15 +77,17 @@ void k051649_device::device_start()
// build the mixer table
make_mixer_table(5);
+}
+//-------------------------------------------------
+// device_register_save - register for save states
+//-------------------------------------------------
+
+void k051649_device::device_register_save(save_registrar &save)
+{
// save states
- save_item(STRUCT_MEMBER(m_channel_list, counter));
- save_item(STRUCT_MEMBER(m_channel_list, clock));
- save_item(STRUCT_MEMBER(m_channel_list, frequency));
- save_item(STRUCT_MEMBER(m_channel_list, volume));
- save_item(STRUCT_MEMBER(m_channel_list, key));
- save_item(STRUCT_MEMBER(m_channel_list, waveram));
- save_item(NAME(m_test));
+ save.reg(NAME(m_channel_list))
+ .reg(NAME(m_test));
}