summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/vrc6.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/vrc6.h')
-rw-r--r--src/devices/sound/vrc6.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/sound/vrc6.h b/src/devices/sound/vrc6.h
index a24d34a90c4..f1ea8f5c9e3 100644
--- a/src/devices/sound/vrc6.h
+++ b/src/devices/sound/vrc6.h
@@ -22,9 +22,9 @@ class vrc6snd_device : public device_t, public device_sound_interface
{
public:
// construction/destruction
- vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
- void write(offs_t offset, uint8_t data);
+ void write(offs_t offset, u8 data);
protected:
// device-level overrides
@@ -34,11 +34,11 @@ protected:
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
private:
- uint8_t m_freqctrl, m_pulsectrl[2], m_sawrate;
- uint8_t m_pulsefrql[2], m_pulsefrqh[2], m_pulseduty[2];
- uint8_t m_sawfrql, m_sawfrqh, m_sawclock, m_sawaccum;
- uint16_t m_ticks[3];
- uint8_t m_output[3];
+ u8 m_freqctrl, m_pulsectrl[2], m_sawrate, m_master_freq;
+ u8 m_pulsefrql[2], m_pulsefrqh[2], m_pulseduty[2];
+ u8 m_sawfrql, m_sawfrqh, m_sawclock, m_sawaccum;
+ u16 m_ticks[3];
+ u8 m_output[3];
sound_stream *m_stream;
};