summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/huc6230.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/huc6230.h')
-rw-r--r--src/devices/sound/huc6230.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/sound/huc6230.h b/src/devices/sound/huc6230.h
index 6cd26955191..d94c59fcb26 100644
--- a/src/devices/sound/huc6230.h
+++ b/src/devices/sound/huc6230.h
@@ -11,10 +11,12 @@
class huc6230_device : public device_t, public device_sound_interface
{
public:
+ static constexpr feature_type imperfect_features() { return feature::SOUND; } // Incorrect ADPCM
+
huc6230_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
template <unsigned N> auto adpcm_update_cb() { return m_adpcm_update_cb[N].bind(); }
- auto cdda_cb() { return m_cdda_cb.bind(); }
+ auto vca_callback() { return m_vca_cb.bind(); }
// write only
DECLARE_WRITE8_MEMBER( write );
@@ -48,13 +50,13 @@ private:
required_device<c6280_device> m_psg;
adpcm_channel m_adpcm_channel[2];
uint32_t m_adpcm_freq;
- uint32_t m_cdda_lvol;
- uint32_t m_cdda_rvol;
+ uint32_t m_pcm_lvol;
+ uint32_t m_pcm_rvol;
TIMER_CALLBACK_MEMBER(adpcm_timer);
devcb_read8 m_adpcm_update_cb[2];
- devcb_write8 m_cdda_cb;
+ devcb_write8 m_vca_cb;
};
DECLARE_DEVICE_TYPE(HuC6230, huc6230_device)