summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/s3.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/s3.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/s3.cpp')
-rw-r--r--src/mame/drivers/s3.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/s3.cpp b/src/mame/drivers/s3.cpp
index 84917d56cce..6de95947d94 100644
--- a/src/mame/drivers/s3.cpp
+++ b/src/mame/drivers/s3.cpp
@@ -85,10 +85,10 @@ public:
DECLARE_MACHINE_RESET(s3);
DECLARE_MACHINE_RESET(s3a);
private:
- UINT8 m_t_c;
- UINT8 m_sound_data;
- UINT8 m_strobe;
- UINT8 m_kbdrow;
+ uint8_t m_t_c;
+ uint8_t m_sound_data;
+ uint8_t m_strobe;
+ uint8_t m_kbdrow;
bool m_data_ok;
bool m_chimes;
required_device<cpu_device> m_maincpu;
@@ -309,7 +309,7 @@ WRITE8_MEMBER( s3_state::sol1_w )
}
else
{
- UINT8 sound_data = ioport("SND")->read(); // 0xff or 0xbf
+ uint8_t sound_data = ioport("SND")->read(); // 0xff or 0xbf
if (BIT(data, 0))
sound_data &= 0xfe;
@@ -385,7 +385,7 @@ WRITE8_MEMBER( s3_state::dig0_w )
WRITE8_MEMBER( s3_state::dig1_w )
{
- static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0, 0, 0, 0, 0, 0 }; // MC14558
+ static const uint8_t patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0, 0, 0, 0, 0, 0 }; // MC14558
if (m_data_ok)
{
output().set_digit_value(m_strobe+16, patterns[data&15]);