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/qix.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/qix.cpp')
-rw-r--r-- | src/mame/drivers/qix.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/qix.cpp b/src/mame/drivers/qix.cpp index 9f4e60bdb96..4d2eb41b208 100644 --- a/src/mame/drivers/qix.cpp +++ b/src/mame/drivers/qix.cpp @@ -1167,7 +1167,7 @@ ROM_END *************************************/ // 99 means the value is unknown -static const UINT8 xor1_table[] = +static const uint8_t xor1_table[] = { 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, @@ -1235,7 +1235,7 @@ static const UINT8 xor1_table[] = 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, }; -static const UINT8 xor2_table[] = +static const uint8_t xor2_table[] = { 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, @@ -1315,7 +1315,7 @@ int qix_state::kram3_permut1(int idx, int value) } } -int qix_state::kram3_permut2(int tbl_index, int idx, const UINT8 *xor_table) +int qix_state::kram3_permut2(int tbl_index, int idx, const uint8_t *xor_table) { int xorval = 0; @@ -1364,8 +1364,8 @@ int qix_state::kram3_decrypt(int address, int value) DRIVER_INIT_MEMBER(qix_state,kram3) { - //const UINT8 *patch; - UINT8 *rom, *decrypted; + //const uint8_t *patch; + uint8_t *rom, *decrypted; int i; assert(m_bank0); @@ -1388,7 +1388,7 @@ DRIVER_INIT_MEMBER(qix_state,kram3) i = 0; //patch = memregion("user1")->base(); rom = memregion("maincpu")->base(); - decrypted = auto_alloc_array(machine(), UINT8, 0x6000); + decrypted = auto_alloc_array(machine(), uint8_t, 0x6000); memcpy(decrypted,&rom[0xa000],0x6000); for (i = 0xa000; i < 0x10000; ++i) @@ -1403,7 +1403,7 @@ DRIVER_INIT_MEMBER(qix_state,kram3) i = 0; //patch = memregion("user2")->base(); rom = memregion("videocpu")->base(); - decrypted = auto_alloc_array(machine(), UINT8, 0x6000); + decrypted = auto_alloc_array(machine(), uint8_t, 0x6000); memcpy(decrypted,&rom[0xa000],0x6000); for (i = 0xa000; i < 0x10000; ++i) |