summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/allied.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/allied.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/allied.cpp')
-rw-r--r--src/mame/drivers/allied.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/allied.cpp b/src/mame/drivers/allied.cpp
index 3f14663bc43..1c17b4661ae 100644
--- a/src/mame/drivers/allied.cpp
+++ b/src/mame/drivers/allied.cpp
@@ -84,16 +84,16 @@ public:
DECLARE_WRITE_LINE_MEMBER(ic8_cb2_w);
TIMER_DEVICE_CALLBACK_MEMBER(timer_a);
private:
- UINT32 m_player_score[6];
- UINT8 m_display;
- UINT8 m_bit_counter;
+ uint32_t m_player_score[6];
+ uint8_t m_display;
+ uint8_t m_bit_counter;
bool m_disp_data;
- UINT8 m_ic5a;
- UINT8 m_ic6a0;
- UINT8 m_ic6a1;
- UINT8 m_ic6a2;
- UINT8 m_ic6b4;
- UINT8 m_ic6b7;
+ uint8_t m_ic5a;
+ uint8_t m_ic6a0;
+ uint8_t m_ic6a1;
+ uint8_t m_ic6a2;
+ uint8_t m_ic6b4;
+ uint8_t m_ic6b7;
virtual void machine_reset() override;
required_device<m6504_device> m_maincpu;
required_device<pia6821_device> m_ic1;
@@ -402,8 +402,8 @@ READ8_MEMBER( allied_state::ic4_a_r )
WRITE8_MEMBER( allied_state::ic4_b_w )
{
- static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x58, 0x4c, 0x62, 0x69, 0x78, 0 }; // 7446A
- UINT8 segment, i;
+ static const uint8_t patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x58, 0x4c, 0x62, 0x69, 0x78, 0 }; // 7446A
+ uint8_t segment, i;
for (i = 0; i < 4; i++)
{
if (!BIT(data, i+4))
@@ -586,7 +586,7 @@ WRITE_LINE_MEMBER( allied_state::ic8_cb2_w )
TIMER_DEVICE_CALLBACK_MEMBER( allied_state::timer_a )
{
- UINT8 data = ioport("X6A")->read();
+ uint8_t data = ioport("X6A")->read();
m_ic8->ca1_w(BIT(data, 4));
m_ic8->cb1_w(BIT(data, 5));