diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/includes/gridlee.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/includes/gridlee.h')
-rw-r--r-- | src/mame/includes/gridlee.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/includes/gridlee.h b/src/mame/includes/gridlee.h index 4aea8304969..cfe35ad79f2 100644 --- a/src/mame/includes/gridlee.h +++ b/src/mame/includes/gridlee.h @@ -33,23 +33,23 @@ public: m_screen(*this, "screen"), m_palette(*this, "palette") { } - required_shared_ptr<UINT8> m_spriteram; - required_shared_ptr<UINT8> m_videoram; + required_shared_ptr<uint8_t> m_spriteram; + required_shared_ptr<uint8_t> m_videoram; required_device<cpu_device> m_maincpu; required_device<screen_device> m_screen; required_device<palette_device> m_palette; - UINT8 m_last_analog_input[2]; - UINT8 m_last_analog_output[2]; - std::unique_ptr<UINT8[]> m_poly17; - UINT8 *m_rand17; + uint8_t m_last_analog_input[2]; + uint8_t m_last_analog_output[2]; + std::unique_ptr<uint8_t[]> m_poly17; + uint8_t *m_rand17; emu_timer *m_irq_off; emu_timer *m_irq_timer; emu_timer *m_firq_off; emu_timer *m_firq_timer; - UINT8 m_cocktail_flip; - std::unique_ptr<UINT8[]> m_local_videoram; - UINT8 m_palettebank_vis; + uint8_t m_cocktail_flip; + std::unique_ptr<uint8_t[]> m_local_videoram; + uint8_t m_palettebank_vis; DECLARE_READ8_MEMBER(analog_port_r); DECLARE_READ8_MEMBER(random_num_r); @@ -63,7 +63,7 @@ public: virtual void machine_reset() override; virtual void video_start() override; DECLARE_PALETTE_INIT(gridlee); - UINT32 screen_update_gridlee(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_gridlee(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_CALLBACK_MEMBER(irq_off_tick); TIMER_CALLBACK_MEMBER(irq_timer_tick); TIMER_CALLBACK_MEMBER(firq_off_tick); @@ -79,7 +79,7 @@ class gridlee_sound_device : public device_t, public device_sound_interface { public: - gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); ~gridlee_sound_device() { } protected: @@ -94,15 +94,15 @@ public: private: /* tone variables */ - UINT32 m_tone_step; - UINT32 m_tone_fraction; - UINT8 m_tone_volume; + uint32_t m_tone_step; + uint32_t m_tone_fraction; + uint8_t m_tone_volume; /* sound streaming variables */ sound_stream *m_stream; samples_device *m_samples; double m_freq_to_step; - UINT8 m_sound_data[24]; + uint8_t m_sound_data[24]; }; extern const device_type GRIDLEE; |