diff options
Diffstat (limited to 'src/devices/sound/l7a1045_l6028_dsp_a.h')
-rw-r--r-- | src/devices/sound/l7a1045_l6028_dsp_a.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/sound/l7a1045_l6028_dsp_a.h b/src/devices/sound/l7a1045_l6028_dsp_a.h index 542b6aad386..58877c0836c 100644 --- a/src/devices/sound/l7a1045_l6028_dsp_a.h +++ b/src/devices/sound/l7a1045_l6028_dsp_a.h @@ -26,11 +26,12 @@ public: void dma_w_cb(offs_t offset, uint8_t data); uint16_t dma_r16_cb() { m_voice[0].pos++; return 0; } void dma_w16_cb(uint16_t data) { m_voice[0].pos++; } - DECLARE_WRITE_LINE_MEMBER(dma_hreq_cb); + void dma_hreq_cb(int state); protected: // device-level overrides virtual void device_start() override; + virtual void device_reset() override; // sound stream update overrides virtual void sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) override; @@ -38,7 +39,7 @@ protected: private: struct l7a1045_voice { - l7a1045_voice() { } + constexpr l7a1045_voice() { } uint32_t start = 0; uint32_t end = 0; |