summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/funkyjet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/funkyjet.cpp')
-rw-r--r--src/mame/drivers/funkyjet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/funkyjet.cpp b/src/mame/drivers/funkyjet.cpp
index 44f4e923553..f49468be8e1 100644
--- a/src/mame/drivers/funkyjet.cpp
+++ b/src/mame/drivers/funkyjet.cpp
@@ -104,12 +104,12 @@ Notes:
READ16_MEMBER( funkyjet_state::funkyjet_protection_region_0_146_r )
{
-// UINT16 realdat = deco16_146_funkyjet_prot_r(space,offset&0x3ff,mem_mask);
+// uint16_t realdat = deco16_146_funkyjet_prot_r(space,offset&0x3ff,mem_mask);
int real_address = 0 + (offset *2);
int deco146_addr = BITSWAP32(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, /* note, same bitswap as fghthist */ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) & 0x7fff;
- UINT8 cs = 0;
- UINT16 data = m_deco146->read_data( deco146_addr, mem_mask, cs );
+ uint8_t cs = 0;
+ uint16_t data = m_deco146->read_data( deco146_addr, mem_mask, cs );
// if ((realdat & mem_mask) != (data & mem_mask))
// printf("returned %04x instead of %04x (real address %08x swapped addr %08x)\n", data, realdat, real_address, deco146_addr);
@@ -123,7 +123,7 @@ WRITE16_MEMBER( funkyjet_state::funkyjet_protection_region_0_146_w )
int real_address = 0 + (offset *2);
int deco146_addr = BITSWAP32(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, /* note, same bitswap as fghthist */ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) & 0x7fff;
- UINT8 cs = 0;
+ uint8_t cs = 0;
m_deco146->write_data( space, deco146_addr, data, mem_mask, cs );
}