summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/boogwing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/boogwing.cpp')
-rw-r--r--src/mame/drivers/boogwing.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/boogwing.cpp b/src/mame/drivers/boogwing.cpp
index 6b5eb02f7f1..9c7d3843621 100644
--- a/src/mame/drivers/boogwing.cpp
+++ b/src/mame/drivers/boogwing.cpp
@@ -94,8 +94,8 @@ READ16_MEMBER( boogwing_state::boogwing_protection_region_0_104_r )
{
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, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff;
- UINT8 cs = 0;
- UINT16 data = m_deco104->read_data( deco146_addr, mem_mask, cs );
+ uint8_t cs = 0;
+ uint16_t data = m_deco104->read_data( deco146_addr, mem_mask, cs );
return data;
}
@@ -103,7 +103,7 @@ WRITE16_MEMBER( boogwing_state::boogwing_protection_region_0_104_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, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff;
- UINT8 cs = 0;
+ uint8_t cs = 0;
m_deco104->write_data( space, deco146_addr, data, mem_mask, cs );
}
@@ -632,14 +632,14 @@ ROM_END
DRIVER_INIT_MEMBER(boogwing_state,boogwing)
{
- const UINT8* src = memregion("gfx6")->base();
- UINT8* dst = memregion("tiles2")->base() + 0x200000;
+ const uint8_t* src = memregion("gfx6")->base();
+ uint8_t* dst = memregion("tiles2")->base() + 0x200000;
deco56_decrypt_gfx(machine(), "tiles1");
deco56_decrypt_gfx(machine(), "tiles2");
deco56_decrypt_gfx(machine(), "tiles3");
deco56_remap_gfx(machine(), "gfx6");
- deco102_decrypt_cpu((UINT16 *)memregion("maincpu")->base(), m_decrypted_opcodes, 0x100000, 0x42ba, 0x00, 0x18);
+ deco102_decrypt_cpu((uint16_t *)memregion("maincpu")->base(), m_decrypted_opcodes, 0x100000, 0x42ba, 0x00, 0x18);
memcpy(dst, src, 0x100000);
}