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/srmp2.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/srmp2.cpp')
-rw-r--r-- | src/mame/drivers/srmp2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/srmp2.cpp b/src/mame/drivers/srmp2.cpp index 9b0c5bf1e62..dc6e15cada5 100644 --- a/src/mame/drivers/srmp2.cpp +++ b/src/mame/drivers/srmp2.cpp @@ -205,7 +205,7 @@ WRITE16_MEMBER(srmp2_state::srmp2_adpcm_code_w) table and plays the ADPCM for itself. */ - UINT8 *ROM = memregion("adpcm")->base(); + uint8_t *ROM = memregion("adpcm")->base(); m_adpcm_sptr = (ROM[((m_adpcm_bank * 0x10000) + (data << 2) + 0)] << 8); m_adpcm_eptr = (ROM[((m_adpcm_bank * 0x10000) + (data << 2) + 1)] << 8); @@ -228,7 +228,7 @@ WRITE8_MEMBER(srmp2_state::srmp3_adpcm_code_w) table and plays the ADPCM for itself. */ - UINT8 *ROM = memregion("adpcm")->base(); + uint8_t *ROM = memregion("adpcm")->base(); m_adpcm_sptr = (ROM[((m_adpcm_bank * 0x10000) + (data << 2) + 0)] << 8); m_adpcm_eptr = (ROM[((m_adpcm_bank * 0x10000) + (data << 2) + 1)] << 8); @@ -244,7 +244,7 @@ WRITE8_MEMBER(srmp2_state::srmp3_adpcm_code_w) WRITE_LINE_MEMBER(srmp2_state::adpcm_int) { - UINT8 *ROM = memregion("adpcm")->base(); + uint8_t *ROM = memregion("adpcm")->base(); if (m_adpcm_sptr) { @@ -282,7 +282,7 @@ READ8_MEMBER(srmp2_state::vox_status_r) } -UINT8 srmp2_state::iox_key_matrix_calc(UINT8 p_side) +uint8_t srmp2_state::iox_key_matrix_calc(uint8_t p_side) { static const char *const keynames[] = { "KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5", "KEY6", "KEY7" }; int i, j, t; @@ -330,8 +330,8 @@ READ8_MEMBER(srmp2_state::iox_mux_r) /* both side checks */ if(m_iox.mux == 1) { - UINT8 p1_side = iox_key_matrix_calc(0); - UINT8 p2_side = iox_key_matrix_calc(4); + uint8_t p1_side = iox_key_matrix_calc(0); + uint8_t p2_side = iox_key_matrix_calc(4); if(p1_side != 0) return p1_side; |