diff options
Diffstat (limited to 'src/devices/sound/upd934g.h')
-rw-r--r-- | src/devices/sound/upd934g.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/sound/upd934g.h b/src/devices/sound/upd934g.h index 6652fb62c8e..41bcd038e08 100644 --- a/src/devices/sound/upd934g.h +++ b/src/devices/sound/upd934g.h @@ -27,7 +27,7 @@ public: // construction/destruction upd934g_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - void write(offs_t offset, uint8_t data); + void write(offs_t offset, u8 data); protected: // device-level overrides @@ -39,18 +39,19 @@ protected: private: sound_stream *m_stream; - uint16_t m_addr[16]; + u16 m_addr[16]; + u8 m_valid[16]; struct { - uint16_t pos; - int playing; - int effect; + u16 pos; + s8 playing; + u8 effect; } m_channel[4]; - int m_sample; - bool m_ready; + u8 m_sample; + u8 m_ready; }; // device type definition |