mirror of
https://github.com/holub/mame
synced 2025-06-09 22:33:00 +03:00
devices/sound/rf5c68: correct use of STRUCT_MEMBER, thanks to Vas (nw)
This commit is contained in:
parent
773a23f503
commit
46ec33dba9
@ -74,13 +74,13 @@ void rf5c68_device::device_start()
|
|||||||
/* allocate the stream */
|
/* allocate the stream */
|
||||||
m_stream = stream_alloc(0, 2, clock() / 384);
|
m_stream = stream_alloc(0, 2, clock() / 384);
|
||||||
|
|
||||||
save_item(STRUCT_MEMBER(m_chan, enable), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, enable));
|
||||||
save_item(STRUCT_MEMBER(m_chan, env), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, env));
|
||||||
save_item(STRUCT_MEMBER(m_chan, pan), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, pan));
|
||||||
save_item(STRUCT_MEMBER(m_chan, start), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, start));
|
||||||
save_item(STRUCT_MEMBER(m_chan, addr), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, addr));
|
||||||
save_item(STRUCT_MEMBER(m_chan, step), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, step));
|
||||||
save_item(STRUCT_MEMBER(m_chan, loopst), NUM_CHANNELS);
|
save_item(STRUCT_MEMBER(m_chan, loopst));
|
||||||
|
|
||||||
save_item(NAME(m_cbank));
|
save_item(NAME(m_cbank));
|
||||||
save_item(NAME(m_wbank));
|
save_item(NAME(m_wbank));
|
||||||
|
Loading…
Reference in New Issue
Block a user