summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/cps3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cps3.cpp')
-rw-r--r--src/mame/audio/cps3.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/audio/cps3.cpp b/src/mame/audio/cps3.cpp
index 950c30e4fc2..7c15634738c 100644
--- a/src/mame/audio/cps3.cpp
+++ b/src/mame/audio/cps3.cpp
@@ -40,6 +40,14 @@ void cps3_sound_device::device_start()
{
/* Allocate the stream */
m_stream = stream_alloc(0, 2, clock() / 384);
+
+ save_item(NAME(m_key));
+ for (int i = 0; i < 16; i++)
+ {
+ save_item(NAME(m_voice[i].regs), i);
+ save_item(NAME(m_voice[i].pos), i);
+ save_item(NAME(m_voice[i].frac), i);
+ }
}