diff options
Diffstat (limited to 'src/mame/includes/polepos.h')
-rw-r--r-- | src/mame/includes/polepos.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/mame/includes/polepos.h b/src/mame/includes/polepos.h index dfbad5505ec..3cb277b0a29 100644 --- a/src/mame/includes/polepos.h +++ b/src/mame/includes/polepos.h @@ -56,30 +56,30 @@ public: required_device<cpu_device> m_subcpu2; optional_device<namco_device> m_namco_sound; optional_device<tms5220_device> m_tms; - UINT8 m_steer_last; - UINT8 m_steer_delta; - INT16 m_steer_accum; - INT16 m_last_result; - INT8 m_last_signed; - UINT8 m_last_unsigned; + uint8_t m_steer_last; + uint8_t m_steer_delta; + int16_t m_steer_accum; + int16_t m_last_result; + int8_t m_last_signed; + uint8_t m_last_unsigned; int m_adc_input; int m_auto_start_mask; - required_shared_ptr<UINT16> m_sprite16_memory; - required_shared_ptr<UINT16> m_road16_memory; - required_shared_ptr<UINT16> m_alpha16_memory; - required_shared_ptr<UINT16> m_view16_memory; + required_shared_ptr<uint16_t> m_sprite16_memory; + required_shared_ptr<uint16_t> m_road16_memory; + required_shared_ptr<uint16_t> m_alpha16_memory; + required_shared_ptr<uint16_t> m_view16_memory; required_device<gfxdecode_device> m_gfxdecode; required_device<screen_device> m_screen; required_device<palette_device> m_palette; - UINT16 m_vertical_position_modifier[256]; - UINT16 m_road16_vscroll; + uint16_t m_vertical_position_modifier[256]; + uint16_t m_road16_vscroll; tilemap_t *m_bg_tilemap; tilemap_t *m_tx_tilemap; int m_chacl; - UINT16 m_scroll; - UINT8 m_main_irq_mask; - UINT8 m_sub_irq_mask; + uint16_t m_scroll; + uint8_t m_main_irq_mask; + uint8_t m_sub_irq_mask; DECLARE_READ16_MEMBER(polepos2_ic25_r); DECLARE_READ8_MEMBER(polepos_adc_r); DECLARE_READ8_MEMBER(polepos_ready_r); @@ -121,11 +121,11 @@ public: DECLARE_MACHINE_RESET(polepos); DECLARE_VIDEO_START(polepos); DECLARE_PALETTE_INIT(polepos); - UINT32 screen_update_polepos(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_polepos(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_DEVICE_CALLBACK_MEMBER(polepos_scanline); void draw_road(bitmap_ind16 &bitmap); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect ); - void zoom_sprite(bitmap_ind16 &bitmap,int big,UINT32 code,UINT32 color,int flipx,int sx,int sy,int sizex,int sizey); + void zoom_sprite(bitmap_ind16 &bitmap,int big,uint32_t code,uint32_t color,int flipx,int sx,int sy,int sizex,int sizey); }; @@ -135,7 +135,7 @@ class polepos_sound_device : public device_t, public device_sound_interface { public: - polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); ~polepos_sound_device() { } protected: @@ -151,7 +151,7 @@ public: DECLARE_WRITE8_MEMBER( polepos_engine_sound_msb_w ); private: - UINT32 m_current_position; + uint32_t m_current_position; int m_sample_msb; int m_sample_lsb; int m_sample_enable; |