diff options
Diffstat (limited to 'src/mame/drivers/spinb.cpp')
-rw-r--r-- | src/mame/drivers/spinb.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/mame/drivers/spinb.cpp b/src/mame/drivers/spinb.cpp index 4f1fca84c02..569c10e8287 100644 --- a/src/mame/drivers/spinb.cpp +++ b/src/mame/drivers/spinb.cpp @@ -86,28 +86,28 @@ public: DECLARE_DRIVER_INIT(game1); DECLARE_DRIVER_INIT(game2); DECLARE_PALETTE_INIT(spinb); - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); private: bool m_pc0a; bool m_pc0m; - UINT8 m_game; - UINT8 m_portc_a; - UINT8 m_portc_m; - UINT8 m_row; - UINT8 m_p3; - UINT8 m_p32; - UINT8 m_dmdcmd; - UINT8 m_dmdbank; - UINT8 m_dmdextaddr; - UINT8 m_dmdram[0x2000]; - UINT8 m_sndcmd; - UINT8 m_sndbank_a; - UINT8 m_sndbank_m; - UINT32 m_sound_addr_a; - UINT32 m_sound_addr_m; - UINT8 *m_p_audio; - UINT8 *m_p_music; - UINT8 *m_p_dmdcpu; + uint8_t m_game; + uint8_t m_portc_a; + uint8_t m_portc_m; + uint8_t m_row; + uint8_t m_p3; + uint8_t m_p32; + uint8_t m_dmdcmd; + uint8_t m_dmdbank; + uint8_t m_dmdextaddr; + uint8_t m_dmdram[0x2000]; + uint8_t m_sndcmd; + uint8_t m_sndbank_a; + uint8_t m_sndbank_m; + uint32_t m_sound_addr_a; + uint32_t m_sound_addr_m; + uint8_t *m_p_audio; + uint8_t *m_p_music; + uint8_t *m_p_dmdcpu; virtual void machine_reset() override; virtual void machine_start() override; required_device<cpu_device> m_maincpu; @@ -378,7 +378,7 @@ WRITE8_MEMBER( spinb_state::disp_w ) WRITE8_MEMBER( spinb_state::ppi60a_w ) { if (data) - for (UINT8 i = 0; i < 8; i++) + for (uint8_t i = 0; i < 8; i++) if (BIT(data, i)) m_row = i; } @@ -387,7 +387,7 @@ WRITE8_MEMBER( spinb_state::ppi60a_w ) WRITE8_MEMBER( spinb_state::ppi60b_w ) { if (data & 7) - for (UINT8 i = 0; i < 3; i++) + for (uint8_t i = 0; i < 3; i++) if (BIT(data, i)) m_row = i+8; } @@ -560,10 +560,10 @@ PALETTE_INIT_MEMBER( spinb_state, spinb ) palette.set_pen_color(2, rgb_t(0x7c, 0x55, 0x00)); } -UINT32 spinb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t spinb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - UINT8 y,gfx,gfx1; - UINT16 sy=0,ma,x; + uint8_t y,gfx,gfx1; + uint16_t sy=0,ma,x; address_space &internal = m_dmdcpu->space(AS_DATA); ma = internal.read_byte(0x05) << 8; // find where display memory is @@ -574,7 +574,7 @@ UINT32 spinb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c for(y=0; y<32; y++) { - UINT16 *p = &bitmap.pix16(sy++); + uint16_t *p = &bitmap.pix16(sy++); for(x = 0; x < 16; x++) { gfx = m_dmdram[ma+0x200]; @@ -597,7 +597,7 @@ UINT32 spinb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c for(y=0; y<32; y++) { - UINT16 *p = &bitmap.pix16(sy++); + uint16_t *p = &bitmap.pix16(sy++); for(x = 0; x < 16; x++) { gfx = m_dmdram[ma++]; |