mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +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");
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// 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
|
||||
// our sound stream
|
||||
|
@ -25,6 +25,7 @@ public:
|
||||
protected:
|
||||
// device-level overrides
|
||||
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);
|
||||
|
||||
sound_stream *m_channel;
|
||||
|
Loading…
Reference in New Issue
Block a user