mirror of
https://github.com/holub/mame
synced 2025-06-15 08:57:05 +03:00
sound/namco.cpp: m_voices is a configuration parameter, so it shouldn't be part of the save state
This commit is contained in:
parent
864423c55f
commit
144d3b3989
@ -108,7 +108,6 @@ void namco_audio_device::device_start()
|
|||||||
if (m_wave_ptr == nullptr)
|
if (m_wave_ptr == nullptr)
|
||||||
save_pointer(NAME(m_wavedata), 0x400);
|
save_pointer(NAME(m_wavedata), 0x400);
|
||||||
|
|
||||||
save_item(NAME(m_voices));
|
|
||||||
save_item(NAME(m_sound_enable));
|
save_item(NAME(m_sound_enable));
|
||||||
for (int v = 0; v < MAX_VOLUME; v++)
|
for (int v = 0; v < MAX_VOLUME; v++)
|
||||||
save_pointer(NAME(m_waveform[v]), 32 * 8 * (1+m_wave_size), v);
|
save_pointer(NAME(m_waveform[v]), 32 * 8 * (1+m_wave_size), v);
|
||||||
|
Loading…
Reference in New Issue
Block a user