summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dietgo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dietgo.cpp')
-rw-r--r--src/mame/drivers/dietgo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/dietgo.cpp b/src/mame/drivers/dietgo.cpp
index b5a3f154b11..7c2cf0b489e 100644
--- a/src/mame/drivers/dietgo.cpp
+++ b/src/mame/drivers/dietgo.cpp
@@ -35,8 +35,8 @@ READ16_MEMBER( dietgo_state::dietgo_protection_region_0_104_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_deco104->read_data( deco146_addr, mem_mask, cs );
+ uint8_t cs = 0;
+ uint16_t data = m_deco104->read_data( deco146_addr, mem_mask, cs );
return data;
}
@@ -44,7 +44,7 @@ WRITE16_MEMBER( dietgo_state::dietgo_protection_region_0_104_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_deco104->write_data( space, deco146_addr, data, mem_mask, cs );
}
@@ -372,7 +372,7 @@ ROM_END
DRIVER_INIT_MEMBER(dietgo_state,dietgo)
{
deco56_decrypt_gfx(machine(), "gfx1");
- deco102_decrypt_cpu((UINT16 *)memregion("maincpu")->base(), m_decrypted_opcodes, 0x80000, 0xe9ba, 0x01, 0x19);
+ deco102_decrypt_cpu((uint16_t *)memregion("maincpu")->base(), m_decrypted_opcodes, 0x80000, 0xe9ba, 0x01, 0x19);
}
GAME( 1992, dietgo, 0, dietgo, dietgo, dietgo_state, dietgo, ROT0, "Data East Corporation", "Diet Go Go (Euro v1.1 1992.09.26)", MACHINE_SUPPORTS_SAVE )