summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/tigeroad.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-07-06 16:55:30 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-07-06 16:55:30 +0200
commit175154ad1483e668d71c35e05c3cab6ebe081cfc (patch)
treea3f55bdea9c3911b4efe34bb8fc34903e05e0615 /src/mame/machine/tigeroad.cpp
parent47da5905af206162ab5b0fd38ac4d3e247f6f30d (diff)
tigeroad.cpp: enabled save state support, minor cleanups (nw)
Diffstat (limited to 'src/mame/machine/tigeroad.cpp')
-rw-r--r--src/mame/machine/tigeroad.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/tigeroad.cpp b/src/mame/machine/tigeroad.cpp
index 3a25afcd373..7515190ba90 100644
--- a/src/mame/machine/tigeroad.cpp
+++ b/src/mame/machine/tigeroad.cpp
@@ -3,7 +3,7 @@
#include "emu.h"
#include "includes/tigeroad.h"
-uint16_t pushman_state::mcu_comm_r(offs_t offset, uint16_t mem_mask)
+u16 pushman_state::mcu_comm_r(offs_t offset, u16 mem_mask)
{
switch (offset & 0x03)
{
@@ -20,7 +20,7 @@ uint16_t pushman_state::mcu_comm_r(offs_t offset, uint16_t mem_mask)
return 0xffff;
}
-void pushman_state::pushman_mcu_comm_w(offs_t offset, uint16_t data)
+void pushman_state::pushman_mcu_comm_w(offs_t offset, u16 data)
{
switch (offset & 0x01)
{
@@ -35,24 +35,24 @@ void pushman_state::pushman_mcu_comm_w(offs_t offset, uint16_t data)
}
}
-void pushman_state::bballs_mcu_comm_w(uint16_t data)
+void pushman_state::bballs_mcu_comm_w(u16 data)
{
m_host_latch = data;
m_host_semaphore = true;
m_mcu->set_input_line(M68705_IRQ_LINE, ASSERT_LINE);
}
-void pushman_state::mcu_pa_w(uint8_t data)
+void pushman_state::mcu_pa_w(u8 data)
{
m_mcu_output = (m_mcu_output & 0xff00) | (u16(data) & 0x00ff);
}
-void pushman_state::mcu_pb_w(uint8_t data)
+void pushman_state::mcu_pb_w(u8 data)
{
m_mcu_output = (m_mcu_output & 0x00ff) | (u16(data) << 8);
}
-void pushman_state::mcu_pc_w(uint8_t data)
+void pushman_state::mcu_pc_w(u8 data)
{
if (BIT(data, 0))
{