summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atari_s2.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/atari_s2.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/atari_s2.cpp')
-rw-r--r--src/mame/drivers/atari_s2.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/atari_s2.cpp b/src/mame/drivers/atari_s2.cpp
index 2727c0522be..0307a3f376d 100644
--- a/src/mame/drivers/atari_s2.cpp
+++ b/src/mame/drivers/atari_s2.cpp
@@ -50,13 +50,13 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(timer_s);
private:
bool m_timer_sb;
- UINT8 m_timer_s[5];
- UINT8 m_sound0;
- UINT8 m_sound1;
- UINT8 m_vol;
- UINT8 m_t_c;
- UINT8 m_segment[7];
- UINT8 *m_p_prom;
+ uint8_t m_timer_s[5];
+ uint8_t m_sound0;
+ uint8_t m_sound1;
+ uint8_t m_vol;
+ uint8_t m_t_c;
+ uint8_t m_segment[7];
+ uint8_t *m_p_prom;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
required_device<dac_4bit_binary_weighted_device> m_dac;
@@ -345,13 +345,13 @@ WRITE8_MEMBER( atari_s2_state::sol0_w )
WRITE8_MEMBER( atari_s2_state::display_w )
{
- static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0, 0, 0, 0, 0, 0 }; // 4511
+ static const uint8_t patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0, 0, 0, 0, 0, 0 }; // 4511
if (offset<7)
m_segment[offset] = patterns[data&15];
else
{
data &= 7;
- for (UINT8 i = 0; i < 7; i++)
+ for (uint8_t i = 0; i < 7; i++)
output().set_digit_value(i * 10 + data, m_segment[i]);
}
}