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/commando.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/commando.cpp')
-rw-r--r-- | src/mame/drivers/commando.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/commando.cpp b/src/mame/drivers/commando.cpp index 07fe2d68448..d7f29bc85d4 100644 --- a/src/mame/drivers/commando.cpp +++ b/src/mame/drivers/commando.cpp @@ -664,25 +664,25 @@ ROM_END DRIVER_INIT_MEMBER(commando_state,commando) { - UINT8 *rom = memregion("maincpu")->base(); + uint8_t *rom = memregion("maincpu")->base(); // the first opcode is *not* encrypted m_decrypted_opcodes[0] = rom[0]; for (int A = 1; A < 0xc000; A++) { - UINT8 src = rom[A]; + uint8_t src = rom[A]; m_decrypted_opcodes[A] = (src & 0x11) | ((src & 0xe0) >> 4) | ((src & 0x0e) << 4); } } DRIVER_INIT_MEMBER(commando_state,spaceinv) { - UINT8 *rom = memregion("maincpu")->base(); + uint8_t *rom = memregion("maincpu")->base(); // the first opcode *is* encrypted for (int A = 0; A < 0xc000; A++) { - UINT8 src = rom[A]; + uint8_t src = rom[A]; m_decrypted_opcodes[A] = (src & 0x11) | ((src & 0xe0) >> 4) | ((src & 0x0e) << 4); } } |