summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/flicker.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/flicker.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/flicker.cpp')
-rw-r--r--src/mame/drivers/flicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/flicker.cpp b/src/mame/drivers/flicker.cpp
index 602044c8c02..b054c810054 100644
--- a/src/mame/drivers/flicker.cpp
+++ b/src/mame/drivers/flicker.cpp
@@ -39,7 +39,7 @@ public:
DECLARE_WRITE8_MEMBER(port10_w);
DECLARE_READ8_MEMBER(port02_r);
private:
- UINT8 m_out_data;
+ uint8_t m_out_data;
required_device<i4004_cpu_device> m_maincpu;
required_ioport m_testport;
required_ioport m_coinport;
@@ -125,7 +125,7 @@ READ8_MEMBER( flicker_state::port02_r )
WRITE8_MEMBER( flicker_state::port00_w )
{
- static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f, 0, 0, 0, 0, 0, 0 };
+ static const uint8_t patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f, 0, 0, 0, 0, 0, 0 };
offset = m_maincpu->state_int(I4004_RAM); // we need the full address
output().set_digit_value(offset, patterns[data]);
}
@@ -135,8 +135,8 @@ WRITE8_MEMBER( flicker_state::port01_w )
// The output lines operate the various lamps (44 of them)
offset = m_maincpu->state_int(I4004_RAM) & 0x0f; // we need the full address
- UINT16 test_port = m_testport->read() & 0xf81e;
- UINT16 coin_port = m_coinport->read() & 0x07e0;
+ uint16_t test_port = m_testport->read() & 0xf81e;
+ uint16_t coin_port = m_coinport->read() & 0x07e0;
if (BIT(m_coinport->read(), 0) )
test_port |= coin_port;