summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_mslugx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_mslugx.cpp')
-rw-r--r--src/devices/bus/neogeo/prot_mslugx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/neogeo/prot_mslugx.cpp b/src/devices/bus/neogeo/prot_mslugx.cpp
index e54007c4a2e..85321f8c92c 100644
--- a/src/devices/bus/neogeo/prot_mslugx.cpp
+++ b/src/devices/bus/neogeo/prot_mslugx.cpp
@@ -7,7 +7,7 @@
extern const device_type MSLUGX_PROT = &device_creator<mslugx_prot_device>;
-mslugx_prot_device::mslugx_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+mslugx_prot_device::mslugx_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, MSLUGX_PROT, "Neo Geo Metal Slug X Protection", tag, owner, clock, "mslugx_prot", __FILE__),
m_counter(0),
m_command(0)
@@ -61,7 +61,7 @@ WRITE16_MEMBER( mslugx_prot_device::protection_w )
READ16_MEMBER( mslugx_prot_device::protection_r )
{
- UINT16 res = 0;
+ uint16_t res = 0;
switch (m_command)
{
@@ -72,7 +72,7 @@ READ16_MEMBER( mslugx_prot_device::protection_r )
break;
case 0x0fff: { // All other accesses (Register D2)
- INT32 select = space.read_word(0x10f00a) - 1; // How should this be calculated?
+ int32_t select = space.read_word(0x10f00a) - 1; // How should this be calculated?
res = (space.read_byte(0xdedd2 + ((select >> 3) & 0x0fff)) >> (~select & 0x07)) & 1;
}
break;