diff options
Diffstat (limited to 'src/mame/machine/stfight.cpp')
-rw-r--r-- | src/mame/machine/stfight.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/machine/stfight.cpp b/src/mame/machine/stfight.cpp index 6e74dc39078..9ce6b1aee62 100644 --- a/src/mame/machine/stfight.cpp +++ b/src/mame/machine/stfight.cpp @@ -39,11 +39,11 @@ Encryption PAL 16R4 on CPU board DRIVER_INIT_MEMBER(stfight_state,empcity) { - UINT8 *rom = memregion("maincpu")->base(); + uint8_t *rom = memregion("maincpu")->base(); - for (UINT32 A = 0; A < 0x8000; ++A) + for (uint32_t A = 0; A < 0x8000; ++A) { - UINT8 src = rom[A]; + uint8_t src = rom[A]; // decode opcode m_decrypted_opcodes[A] = @@ -111,7 +111,7 @@ void stfight_state::machine_reset() // - in fact I don't even know how/where it's switched in! WRITE8_MEMBER(stfight_state::stfight_bank_w) { - UINT8 bank_num = 0; + uint8_t bank_num = 0; if(data & 0x80) bank_num |= 2; @@ -188,8 +188,8 @@ WRITE_LINE_MEMBER(stfight_state::stfight_adpcm_int) if (!m_adpcm_reset) { - const UINT8 *samples = memregion("adpcm")->base(); - UINT8 adpcm_data = samples[m_adpcm_data_offs & 0x7fff]; + const uint8_t *samples = memregion("adpcm")->base(); + uint8_t adpcm_data = samples[m_adpcm_data_offs & 0x7fff]; if (m_adpcm_nibble == 0) adpcm_data >>= 4; @@ -214,7 +214,7 @@ WRITE8_MEMBER(stfight_state::stfight_fm_w) READ8_MEMBER(stfight_state::stfight_fm_r) { - UINT8 data = m_fm_data; + uint8_t data = m_fm_data; // Acknowledge the command m_fm_data &= ~0x80; |