diff options
Diffstat (limited to 'src/mame/drivers/m79amb.cpp')
-rw-r--r-- | src/mame/drivers/m79amb.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/m79amb.cpp b/src/mame/drivers/m79amb.cpp index 0a3f791529e..89cdb4937cd 100644 --- a/src/mame/drivers/m79amb.cpp +++ b/src/mame/drivers/m79amb.cpp @@ -65,7 +65,7 @@ WRITE8_MEMBER(m79amb_state::ramtek_videoram_w) m_videoram[offset] = data & ~*m_mask; } -UINT32 m79amb_state::screen_update_ramtek(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +uint32_t m79amb_state::screen_update_ramtek(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { offs_t offs; @@ -73,7 +73,7 @@ UINT32 m79amb_state::screen_update_ramtek(screen_device &screen, bitmap_rgb32 &b { int i; - UINT8 data = m_videoram[offs]; + uint8_t data = m_videoram[offs]; int y = offs >> 5; int x = (offs & 0x1f) << 3; @@ -93,16 +93,16 @@ UINT32 m79amb_state::screen_update_ramtek(screen_device &screen, bitmap_rgb32 &b READ8_MEMBER(m79amb_state::gray5bit_controller0_r) { - UINT8 port_data = ioport("8004")->read(); - UINT8 gun_pos = ioport("GUN1")->read(); + uint8_t port_data = ioport("8004")->read(); + uint8_t gun_pos = ioport("GUN1")->read(); return (port_data & 0xe0) | m_lut_gun1[gun_pos]; } READ8_MEMBER(m79amb_state::gray5bit_controller1_r) { - UINT8 port_data = ioport("8005")->read(); - UINT8 gun_pos = ioport("GUN2")->read(); + uint8_t port_data = ioport("8005")->read(); + uint8_t gun_pos = ioport("GUN2")->read(); return (port_data & 0xe0) | m_lut_gun2[gun_pos]; } @@ -251,14 +251,14 @@ ROM_END 181.6, 199.9, 205.4, 211.9, 223.5, 232.4, 254.0, 254.0 */ -static const UINT8 lut_cross[0x20] = { +static const uint8_t lut_cross[0x20] = { 19, 20, 21, 23, 25, 27, 29, 37, 45, 53, 66, 82, 88, 95, 105, 111, 118, 130, 142, 149, 158, 165, 170, 177, 191, 203, 209, 218, 228, 243, 249, 255, }; -static const UINT8 lut_pos[0x20] = { +static const uint8_t lut_pos[0x20] = { 0x1f, 0x1e, 0x1c, 0x1d, 0x19, 0x18, 0x1a, 0x1b, 0x13, 0x12, 0x10, 0x11, 0x15, 0x14, 0x16, 0x17, 0x07, 0x06, 0x04, 0x05, 0x01, 0x00, 0x02, 0x03, @@ -268,7 +268,7 @@ static const UINT8 lut_pos[0x20] = { DRIVER_INIT_MEMBER(m79amb_state,m79amb) { - UINT8 *rom = memregion("maincpu")->base(); + uint8_t *rom = memregion("maincpu")->base(); int i, j; /* PROM data is active low */ |