summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/lemmings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lemmings.cpp')
-rw-r--r--src/mame/drivers/lemmings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/lemmings.cpp b/src/mame/drivers/lemmings.cpp
index f146938b059..9e67c7ec820 100644
--- a/src/mame/drivers/lemmings.cpp
+++ b/src/mame/drivers/lemmings.cpp
@@ -48,7 +48,7 @@ READ16_MEMBER(lemmings_state::lemmings_trackball_r)
-void lemmings_state::lemmings_sound_cb( address_space &space, UINT16 data, UINT16 mem_mask )
+void lemmings_state::lemmings_sound_cb( address_space &space, uint16_t data, uint16_t mem_mask )
{
m_soundlatch->write(space, 0, data & 0xff);
m_audiocpu->set_input_line(1, HOLD_LINE);
@@ -63,8 +63,8 @@ READ16_MEMBER( lemmings_state::lem_protection_region_0_146_r )
{
int real_address = 0 + (offset *2);
int deco146_addr = BITSWAP32(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff;
- UINT8 cs = 0;
- UINT16 data = m_deco146->read_data( deco146_addr, mem_mask, cs );
+ uint8_t cs = 0;
+ uint16_t data = m_deco146->read_data( deco146_addr, mem_mask, cs );
return data;
}
@@ -72,7 +72,7 @@ WRITE16_MEMBER( lemmings_state::lem_protection_region_0_146_w )
{
int real_address = 0 + (offset *2);
int deco146_addr = BITSWAP32(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff;
- UINT8 cs = 0;
+ uint8_t cs = 0;
m_deco146->write_data( space, deco146_addr, data, mem_mask, cs );
}