summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/vicdual.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vicdual.cpp')
-rw-r--r--src/mame/drivers/vicdual.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/vicdual.cpp b/src/mame/drivers/vicdual.cpp
index 3547570b3bd..e4a76ec2f7c 100644
--- a/src/mame/drivers/vicdual.cpp
+++ b/src/mame/drivers/vicdual.cpp
@@ -273,7 +273,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::depthch_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x08) ret = m_in1->read();
@@ -354,7 +354,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::safari_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x08) ret = m_in1->read();
@@ -437,7 +437,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::frogs_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x08) ret = m_in1->read();
@@ -548,7 +548,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::headon_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x08) ret = m_in1->read();
@@ -559,7 +559,7 @@ READ8_MEMBER(vicdual_state::headon_io_r)
READ8_MEMBER(vicdual_state::sspaceat_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x04) ret = m_in1->read();
@@ -807,7 +807,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::headon2_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x02) { /* schematics show this as in input port, but never read from */ }
@@ -1299,7 +1299,7 @@ ADDRESS_MAP_END
CUSTOM_INPUT_MEMBER(vicdual_state::fake_lives_r)
{
/* use the low byte for the bitmask */
- UINT8 bit_mask = ((uintptr_t)param) & 0xff;
+ uint8_t bit_mask = ((uintptr_t)param) & 0xff;
/* and use d8 for the port */
int port = ((uintptr_t)param) >> 8 & 1;
@@ -2107,7 +2107,7 @@ WRITE8_MEMBER(vicdual_state::samurai_protection_w)
CUSTOM_INPUT_MEMBER(vicdual_state::samurai_protection_r)
{
int offset = (uintptr_t)param;
- UINT32 answer = 0;
+ uint32_t answer = 0;
if (m_samurai_protection_data == 0xab)
answer = 0x02;
@@ -2232,7 +2232,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::nsub_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x08) ret = m_in1->read();
@@ -2413,7 +2413,7 @@ MACHINE_CONFIG_END
READ8_MEMBER(vicdual_state::invinco_io_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset & 0x01) ret = m_in0->read();
if (offset & 0x02) ret = m_in1->read();