summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/tecmo.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/tecmo.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/tecmo.cpp')
-rw-r--r--src/mame/drivers/tecmo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/tecmo.cpp b/src/mame/drivers/tecmo.cpp
index bc286b25e47..7474c13373e 100644
--- a/src/mame/drivers/tecmo.cpp
+++ b/src/mame/drivers/tecmo.cpp
@@ -105,7 +105,7 @@ WRITE_LINE_MEMBER(tecmo_state::adpcm_int)
}
else
{
- UINT8 *ROM = memregion("adpcm")->base();
+ uint8_t *ROM = memregion("adpcm")->base();
m_adpcm_data = ROM[m_adpcm_pos++];
m_msm->data_w(m_adpcm_data >> 4);
@@ -115,28 +115,28 @@ WRITE_LINE_MEMBER(tecmo_state::adpcm_int)
/* the 8-bit dipswitches are split across addresses */
READ8_MEMBER(tecmo_state::dswa_l_r)
{
- UINT8 port = ioport("DSWA")->read();
+ uint8_t port = ioport("DSWA")->read();
port &= 0x0f;
return port;
}
READ8_MEMBER(tecmo_state::dswa_h_r)
{
- UINT8 port = ioport("DSWA")->read();
+ uint8_t port = ioport("DSWA")->read();
port &= 0xf0;
return port>>4;
}
READ8_MEMBER(tecmo_state::dswb_l_r)
{
- UINT8 port = ioport("DSWB")->read();
+ uint8_t port = ioport("DSWB")->read();
port &= 0x0f;
return port;
}
READ8_MEMBER(tecmo_state::dswb_h_r)
{
- UINT8 port = ioport("DSWB")->read();
+ uint8_t port = ioport("DSWB")->read();
port &= 0xf0;
return port>>4;
}