diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/boogwing.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/boogwing.cpp')
-rw-r--r-- | src/mame/drivers/boogwing.cpp | 12 |
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); } |