summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/play_2.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/play_2.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (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/drivers/play_2.cpp')
-rw-r--r--src/mame/drivers/play_2.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/play_2.cpp b/src/mame/drivers/play_2.cpp
index 73c4dea293a..b62b562d8d1 100644
--- a/src/mame/drivers/play_2.cpp
+++ b/src/mame/drivers/play_2.cpp
@@ -70,14 +70,14 @@ public:
DECLARE_DRIVER_INIT(zira);
private:
- UINT16 m_clockcnt;
- UINT16 m_resetcnt;
- UINT8 m_kbdrow;
- UINT8 m_segment[5];
+ uint16_t m_clockcnt;
+ uint16_t m_resetcnt;
+ uint8_t m_kbdrow;
+ uint8_t m_segment[5];
bool m_disp_sw;
- UINT8 m_soundlatch;
- UINT8 m_psg_latch;
- UINT8 m_port06;
+ uint8_t m_soundlatch;
+ uint8_t m_psg_latch;
+ uint8_t m_port06;
virtual void machine_reset() override;
required_device<cosmac_device> m_maincpu;
required_device<ttl7474_device> m_4013a;
@@ -191,7 +191,7 @@ void play_2_state::machine_reset()
m_kbdrow = 0;
m_disp_sw = 0;
m_port06 = 0;
- for (UINT8 i = 0; i < 5; i++)
+ for (uint8_t i = 0; i < 5; i++)
m_segment[i] = 0;
m_1863->oe_w(1);
}
@@ -202,9 +202,9 @@ WRITE8_MEMBER( play_2_state::port01_w )
if (m_kbdrow && m_disp_sw)
{
m_disp_sw = 0;
- for (UINT8 j = 0; j < 6; j++)
+ for (uint8_t j = 0; j < 6; j++)
if (BIT(m_kbdrow, j))
- for (UINT8 i = 0; i < 5; i++)
+ for (uint8_t i = 0; i < 5; i++)
output().set_digit_value(j*10 + i, m_segment[i] & 0x7f);
}
m_1863->set_output_gain(0, BIT(data, 7) ? 1.00 : 0.00);
@@ -227,7 +227,7 @@ WRITE8_MEMBER( play_2_state::port03_w )
READ8_MEMBER( play_2_state::port04_r )
{
if (m_kbdrow & 0x3f)
- for (UINT8 i = 0; i < 6; i++)
+ for (uint8_t i = 0; i < 6; i++)
if (BIT(m_kbdrow, i))
return m_keyboard[i]->read();