summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/renegade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/renegade.cpp')
-rw-r--r--src/mame/drivers/renegade.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/renegade.cpp b/src/mame/drivers/renegade.cpp
index b1cca745881..42af90ff0c8 100644
--- a/src/mame/drivers/renegade.cpp
+++ b/src/mame/drivers/renegade.cpp
@@ -162,7 +162,7 @@ WRITE_LINE_MEMBER(renegade_state::adpcm_int)
}
else
{
- UINT8 const data = m_adpcmrom[m_adpcm_pos / 2];
+ uint8_t const data = m_adpcmrom[m_adpcm_pos / 2];
m_msm->data_w(m_adpcm_pos & 1 ? data & 0xf : data >> 4);
m_adpcm_pos++;
}
@@ -183,7 +183,7 @@ WRITE8_MEMBER(renegade_state::sound_w)
*/
-static const UINT8 kuniokun_xor_table[0x2a] =
+static const uint8_t kuniokun_xor_table[0x2a] =
{
0x48, 0x8a, 0x48, 0xa5, 0x01, 0x48, 0xa9, 0x00,
0x85, 0x01, 0xa2, 0x10, 0x26, 0x10, 0x26, 0x11,
@@ -386,7 +386,7 @@ void renegade_state::mcu_process_command()
case 0x26: /* sound code -> sound command */
{
int sound_code = m_mcu_buffer[1];
- static const UINT8 sound_command_table[256] =
+ static const uint8_t sound_command_table[256] =
{
0xa0, 0xa1, 0xa2, 0x80, 0x81, 0x82, 0x83, 0x84,
0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c,
@@ -429,7 +429,7 @@ void renegade_state::mcu_process_command()
case 0x33: /* joy bits -> joy dir */
{
int joy_bits = m_mcu_buffer[2];
- static const UINT8 joy_table[0x10] =
+ static const uint8_t joy_table[0x10] =
{
0, 3, 7, 0, 1, 2, 8, 0, 5, 4, 6, 0, 0, 0, 0, 0
};
@@ -442,7 +442,7 @@ void renegade_state::mcu_process_command()
{
int difficulty = m_mcu_buffer[2] & 0x3;
int stage = m_mcu_buffer[3];
- static const UINT8 difficulty_table[4] = { 5, 3, 1, 2 };
+ static const uint8_t difficulty_table[4] = { 5, 3, 1, 2 };
int result = difficulty_table[difficulty];
if (stage == 0)
@@ -459,7 +459,7 @@ void renegade_state::mcu_process_command()
case 0x55: /* 0x55, 0x00, 0x00, 0x00, DSW2 -> timer */
{
int difficulty = m_mcu_buffer[4] & 0x3;
- static const UINT16 table[4] =
+ static const uint16_t table[4] =
{
0x4001, 0x5001, 0x1502, 0x0002
};
@@ -558,7 +558,7 @@ READ8_MEMBER(renegade_state::mcu_r)
CUSTOM_INPUT_MEMBER(renegade_state::mcu_status_r)
{
- UINT8 res = 0;
+ uint8_t res = 0;
if (m_mcu_sim == TRUE)
{