mirror of
https://github.com/holub/mame
synced 2025-04-28 19:14:55 +03:00
(MESS) fixed uninitialized variables in arcadia_sound_device (nw)
This commit is contained in:
parent
5900d49512
commit
16445c1078
@ -62,6 +62,16 @@ void arcadia_sound_device::device_start()
|
|||||||
logerror("arcadia_sound start\n");
|
logerror("arcadia_sound start\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------
|
||||||
|
// device_start - device-specific reset
|
||||||
|
//-------------------------------------------------
|
||||||
|
void arcadia_sound_device::device_reset()
|
||||||
|
{
|
||||||
|
memset(m_reg, 0, sizeof(m_reg));
|
||||||
|
m_omode = 0;
|
||||||
|
m_pos = 0;
|
||||||
|
}
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// sound_stream_update - handle update requests for
|
// sound_stream_update - handle update requests for
|
||||||
// our sound stream
|
// our sound stream
|
||||||
|
@ -25,6 +25,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// device-level overrides
|
// device-level overrides
|
||||||
virtual void device_start();
|
virtual void device_start();
|
||||||
|
virtual void device_reset();
|
||||||
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
|
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
|
||||||
|
|
||||||
sound_stream *m_channel;
|
sound_stream *m_channel;
|
||||||
|
Loading…
Reference in New Issue
Block a user