From 175154ad1483e668d71c35e05c3cab6ebe081cfc Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Mon, 6 Jul 2020 16:55:30 +0200 Subject: tigeroad.cpp: enabled save state support, minor cleanups (nw) --- src/mame/machine/tigeroad.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mame/machine/tigeroad.cpp') 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)) { -- cgit v1.2.3-70-g09d2