diff options
Diffstat (limited to 'src/mame/includes/beezer.h')
-rw-r--r-- | src/mame/includes/beezer.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/mame/includes/beezer.h b/src/mame/includes/beezer.h index 27b26a9f4d1..4ed0eb337bf 100644 --- a/src/mame/includes/beezer.h +++ b/src/mame/includes/beezer.h @@ -19,7 +19,7 @@ public: m_screen(*this, "screen"), m_palette(*this, "palette") { } - required_shared_ptr<UINT8> m_videoram; + required_shared_ptr<uint8_t> m_videoram; int m_pbus; int m_banklatch; @@ -35,7 +35,7 @@ public: DECLARE_READ8_MEMBER(beezer_line_r); DECLARE_DRIVER_INIT(beezer); virtual void machine_start() override; - UINT32 screen_update_beezer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_beezer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_DEVICE_CALLBACK_MEMBER(beezer_interrupt); DECLARE_READ8_MEMBER(b_via_0_pa_r); DECLARE_READ8_MEMBER(b_via_0_pb_r); @@ -52,20 +52,20 @@ public: /* 6840 variables */ struct sh6840_timer_channel_beez { - UINT8 cr; - UINT8 state; - UINT8 leftovers; - UINT16 timer; - UINT32 clocks; - UINT8 int_flag; + uint8_t cr; + uint8_t state; + uint8_t leftovers; + uint16_t timer; + uint32_t clocks; + uint8_t int_flag; union { #ifdef LSB_FIRST - struct { UINT8 l, h; } b; + struct { uint8_t l, h; } b; #else - struct { UINT8 h, l; } b; + struct { uint8_t h, l; } b; #endif - UINT16 w; + uint16_t w; } counter; }; @@ -73,7 +73,7 @@ class beezer_sound_device : public device_t, public device_sound_interface { public: - beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); ~beezer_sound_device() {} DECLARE_READ8_MEMBER( sh6840_r ); @@ -97,21 +97,21 @@ private: cpu_device *m_maincpu; /* IRQ variable */ - //UINT8 m_ptm_irq_state; + //uint8_t m_ptm_irq_state; struct sh6840_timer_channel_beez m_sh6840_timer[3]; - UINT8 m_sh6840_volume[4]; - UINT8 m_sh6840_MSB_latch; - UINT8 m_sh6840_LSB_latch; - UINT32 m_sh6840_LFSR; - UINT32 m_sh6840_LFSR_clocks; - UINT32 m_sh6840_clocks_per_sample; - UINT32 m_sh6840_clock_count; - - UINT32 m_sh6840_latchwrite; - UINT32 m_sh6840_latchwriteold; - UINT32 m_sh6840_noiselatch1; - UINT32 m_sh6840_noiselatch3; + uint8_t m_sh6840_volume[4]; + uint8_t m_sh6840_MSB_latch; + uint8_t m_sh6840_LSB_latch; + uint32_t m_sh6840_LFSR; + uint32_t m_sh6840_LFSR_clocks; + uint32_t m_sh6840_clocks_per_sample; + uint32_t m_sh6840_clock_count; + + uint32_t m_sh6840_latchwrite; + uint32_t m_sh6840_latchwriteold; + uint32_t m_sh6840_noiselatch1; + uint32_t m_sh6840_noiselatch3; /* sound streaming variables */ sound_stream *m_stream; |