summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/inder.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/inder.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/inder.cpp')
-rw-r--r--src/mame/drivers/inder.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/inder.cpp b/src/mame/drivers/inder.cpp
index 516bda804b8..b9a9fb2eef9 100644
--- a/src/mame/drivers/inder.cpp
+++ b/src/mame/drivers/inder.cpp
@@ -78,14 +78,14 @@ public:
DECLARE_DRIVER_INIT(inder1);
private:
bool m_pc0;
- UINT8 m_game;
- UINT8 m_portc;
- UINT8 m_row;
- UINT8 m_segment[8];
- UINT8 m_sndcmd;
- UINT8 m_sndbank;
- UINT32 m_sound_addr;
- UINT8 *m_p_speech;
+ uint8_t m_game;
+ uint8_t m_portc;
+ uint8_t m_row;
+ uint8_t m_segment[8];
+ uint8_t m_sndcmd;
+ uint8_t m_sndbank;
+ uint32_t m_sound_addr;
+ uint8_t *m_p_speech;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
optional_device<cpu_device> m_audiocpu;
@@ -1178,7 +1178,7 @@ WRITE8_MEMBER( inder_state::sol_canasta_w )
WRITE8_MEMBER( inder_state::disp_w )
{
- UINT8 i;
+ uint8_t i;
if (offset < 8)
m_segment[offset] = data;
else
@@ -1194,7 +1194,7 @@ WRITE8_MEMBER( inder_state::disp_w )
WRITE8_MEMBER( inder_state::ppi60a_w )
{
if (data)
- for (UINT8 i = 0; i < 8; i++)
+ for (uint8_t i = 0; i < 8; i++)
if (BIT(data, i))
m_row = i;
}
@@ -1203,14 +1203,14 @@ WRITE8_MEMBER( inder_state::ppi60a_w )
WRITE8_MEMBER( inder_state::ppi60b_w )
{
if (data & 7)
- for (UINT8 i = 0; i < 3; i++)
+ for (uint8_t i = 0; i < 3; i++)
if (BIT(data, i))
m_row = i+8;
}
WRITE8_MEMBER( inder_state::ppi64c_w )
{
- UINT8 i;
+ uint8_t i;
data &= 15;
if (BIT(data, 3)) // 8 to 15)
{
@@ -1227,7 +1227,7 @@ WRITE8_MEMBER( inder_state::ppi64c_w )
WRITE8_MEMBER( inder_state::sndbank_w )
{
m_sndbank = data;
- UINT8 i;
+ uint8_t i;
// look for last rom enabled
for (i = 0; i < 4; i++)
if (!(BIT(data, i)))