summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/arabian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/arabian.cpp')
-rw-r--r--src/mame/drivers/arabian.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/arabian.cpp b/src/mame/drivers/arabian.cpp
index a2155053875..df243930db2 100644
--- a/src/mame/drivers/arabian.cpp
+++ b/src/mame/drivers/arabian.cpp
@@ -100,7 +100,7 @@ WRITE8_MEMBER(arabian_state::ay8910_portb_w)
READ8_MEMBER(arabian_state::mcu_port_r_r)
{
- UINT8 val = m_mcu_port_r[offset];
+ uint8_t val = m_mcu_port_r[offset];
/* RAM mode is enabled */
if (offset == 0)
@@ -113,7 +113,7 @@ WRITE8_MEMBER(arabian_state::mcu_port_r_w)
{
if (offset == 0)
{
- UINT32 ram_addr = ((m_mcu_port_p & 7) << 8) | m_mcu_port_o;
+ uint32_t ram_addr = ((m_mcu_port_p & 7) << 8) | m_mcu_port_o;
if (~data & 2)
m_custom_cpu_ram[ram_addr] = 0xf0 | m_mcu_port_r[3];
@@ -126,17 +126,17 @@ WRITE8_MEMBER(arabian_state::mcu_port_r_w)
READ8_MEMBER(arabian_state::mcu_portk_r)
{
- UINT8 val = 0xf;
+ uint8_t val = 0xf;
if (~m_mcu_port_r[0] & 1)
{
- UINT32 ram_addr = ((m_mcu_port_p & 7) << 8) | m_mcu_port_o;
+ uint32_t ram_addr = ((m_mcu_port_p & 7) << 8) | m_mcu_port_o;
val = m_custom_cpu_ram[ram_addr];
}
else
{
static const char *const comnames[] = { "COM0", "COM1", "COM2", "COM3", "COM4", "COM5" };
- UINT8 sel = ((m_mcu_port_r[2] << 4) | m_mcu_port_r[1]) & 0x3f;
+ uint8_t sel = ((m_mcu_port_r[2] << 4) | m_mcu_port_r[1]) & 0x3f;
int i;
for (i = 0; i < 6; ++i)
@@ -154,7 +154,7 @@ READ8_MEMBER(arabian_state::mcu_portk_r)
WRITE8_MEMBER(arabian_state::mcu_port_o_w)
{
- UINT8 out = data & 0x0f;
+ uint8_t out = data & 0x0f;
if (data & 0x10)
m_mcu_port_o = (m_mcu_port_o & 0x0f) | (out << 4);