summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/flicker.cpp
diff options
context:
space:
mode:
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;