diff options
Diffstat (limited to 'src/mame/drivers/gridlee.cpp')
-rw-r--r-- | src/mame/drivers/gridlee.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/gridlee.cpp b/src/mame/drivers/gridlee.cpp index c452e2580d8..23d20ad86ba 100644 --- a/src/mame/drivers/gridlee.cpp +++ b/src/mame/drivers/gridlee.cpp @@ -169,7 +169,7 @@ void gridlee_state::machine_reset() READ8_MEMBER(gridlee_state::analog_port_r) { int delta, sign, magnitude; - UINT8 newval; + uint8_t newval; static const char *const portnames[] = { "TRACK0_Y", "TRACK0_X", "TRACK1_Y", "TRACK1_X" }; /* first read the new trackball value and compute the signed delta */ @@ -220,11 +220,11 @@ READ8_MEMBER(gridlee_state::analog_port_r) void gridlee_state::poly17_init() { - UINT32 i, x = 0; - UINT8 *p, *r; + uint32_t i, x = 0; + uint8_t *p, *r; /* allocate memory */ - m_poly17 = std::make_unique<UINT8[]>(2 * (POLY17_SIZE + 1)); + m_poly17 = std::make_unique<uint8_t[]>(2 * (POLY17_SIZE + 1)); p = m_poly17.get(); r = m_rand17 = m_poly17.get() + POLY17_SIZE + 1; @@ -250,7 +250,7 @@ void gridlee_state::poly17_init() READ8_MEMBER(gridlee_state::random_num_r) { - UINT32 cc; + uint32_t cc; /* CPU runs at 1.25MHz, noise source at 100kHz --> multiply by 12.5 */ cc = m_maincpu->total_cycles(); |