summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/vlm5030.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/vlm5030.cpp')
-rw-r--r--src/devices/sound/vlm5030.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/sound/vlm5030.cpp b/src/devices/sound/vlm5030.cpp
index b77a5bfc193..9bdbd807876 100644
--- a/src/devices/sound/vlm5030.cpp
+++ b/src/devices/sound/vlm5030.cpp
@@ -235,7 +235,6 @@ void vlm5030_device::device_start()
save_item(NAME(m_target_pitch));
save_item(NAME(m_target_k));
save_item(NAME(m_x));
- machine().save().register_postload(save_prepost_delegate(FUNC(vlm5030_device::restore_state), this));
}
//-------------------------------------------------
@@ -263,6 +262,11 @@ void vlm5030_device::device_reset()
setup_parameter( 0x00);
}
+void vlm5030_device::device_post_load()
+{
+ restore_state();
+}
+
void vlm5030_device::rom_bank_updated()
{
m_channel->update();