diff options
author | 2018-09-15 13:58:30 +0200 | |
---|---|---|
committer | 2018-09-15 13:58:30 +0200 | |
commit | 5b7629348cd29c33fb7bec68bf442a3675a417eb (patch) | |
tree | 8cdcb597b4d07bdac353f0ea0eb64a92e6a7b8e2 /src/devices/sound/spkrdev.cpp | |
parent | 705957edf962c41538554289d830eae0e45d12d5 (diff) | |
parent | 94d215f4a1fde8fdb6a8be7a648d1498984e5f25 (diff) |
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/devices/sound/spkrdev.cpp')
-rw-r--r-- | src/devices/sound/spkrdev.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/sound/spkrdev.cpp b/src/devices/sound/spkrdev.cpp index fc912fbd367..c44e00f5708 100644 --- a/src/devices/sound/spkrdev.cpp +++ b/src/devices/sound/spkrdev.cpp @@ -168,8 +168,6 @@ void speaker_sound_device::device_start() save_item(NAME(m_last_update_time)); save_item(NAME(m_prevx)); save_item(NAME(m_prevy)); - - machine().save().register_postload(save_prepost_delegate(FUNC(speaker_sound_device::speaker_postload), this)); } void speaker_sound_device::device_reset() @@ -193,7 +191,7 @@ void speaker_sound_device::device_reset() m_prevx = m_prevy = 0.0; } -void speaker_sound_device::speaker_postload() +void speaker_sound_device::device_post_load() { m_channel_next_sample_time = m_channel_last_sample_time + attotime(0, m_channel_sample_period); m_next_interm_sample_time = m_channel_last_sample_time + attotime(0, m_interm_sample_period); |