summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2015-03-30 19:30:57 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2015-03-30 19:30:57 +0200
commit1ce70aee163b0f7f11f955fd2867fad48e7f4af7 (patch)
treec6dfe9d26f473a12d75bd969263aae4ea45f4e4e
parent945ff007a6c11fde025f2268a54ea0feb19523f8 (diff)
dcs.c: added missing save state, fixes dram reload problems in blitz11 and wargods (nw)
-rw-r--r--src/mame/audio/dcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/audio/dcs.c b/src/mame/audio/dcs.c
index 8b51a0c9380..591a17647eb 100644
--- a/src/mame/audio/dcs.c
+++ b/src/mame/audio/dcs.c
@@ -927,6 +927,7 @@ void dcs2_audio_device::device_start()
if (m_dram_in_mb != 0)
{
m_sounddata = auto_alloc_array(machine(), UINT16, m_dram_in_mb << (20-1));
+ save_pointer(NAME(m_sounddata), m_dram_in_mb << (20-1));
m_sounddata_words = (m_dram_in_mb << 20) / 2;
}
else