summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/ns11prot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/ns11prot.cpp')
-rw-r--r--src/mame/machine/ns11prot.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/machine/ns11prot.cpp b/src/mame/machine/ns11prot.cpp
index ef3296bcc6d..c357b8d82eb 100644
--- a/src/mame/machine/ns11prot.cpp
+++ b/src/mame/machine/ns11prot.cpp
@@ -7,7 +7,7 @@
#include "ns11prot.h"
-ns11_keycus_device::ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+ns11_keycus_device::ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
@@ -28,7 +28,7 @@ void ns11_keycus_device::device_reset()
/* tekken 2 */
-keycus_c406_device::keycus_c406_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c406_device::keycus_c406_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C406, "Namco C406 KEYCUS", tag, owner, clock, "keycus_c406", __FILE__)
{
}
@@ -68,7 +68,7 @@ const device_type KEYCUS_C406 = &device_creator<keycus_c406_device>;
/* soul edge */
-keycus_c409_device::keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c409_device::keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C409, "Namco C409 KEYCUS", tag, owner, clock, "keycus_c409", __FILE__)
{
}
@@ -108,7 +108,7 @@ const device_type KEYCUS_C409 = &device_creator<keycus_c409_device>;
/* dunk mania */
-keycus_c410_device::keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c410_device::keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C410, "Namco C410 KEYCUS", tag, owner, clock, "keycus_c410", __FILE__)
{
}
@@ -117,7 +117,7 @@ READ16_MEMBER(keycus_c410_device::read)
{
if( m_p2 == 0 )
{
- UINT16 value = m_p1;
+ uint16_t value = m_p1;
if( value == 0xfffe )
{
value = 410;
@@ -162,7 +162,7 @@ const device_type KEYCUS_C410 = &device_creator<keycus_c410_device>;
/* prime goal ex */
-keycus_c411_device::keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c411_device::keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C411, "Namco C411 KEYCUS", tag, owner, clock, "keycus_c411", __FILE__)
{
}
@@ -171,7 +171,7 @@ READ16_MEMBER(keycus_c411_device::read)
{
if( m_p2 == 0x0000 && ( ( ( m_p1 == 0x0000 || m_p1 == 0x100 ) && m_p3 == 0xff7f ) || ( m_p1 == 0x7256 ) ) )
{
- UINT16 value = m_p3;
+ uint16_t value = m_p3;
if( m_p1 != 0x7256 )
{
value = 411;
@@ -218,7 +218,7 @@ const device_type KEYCUS_C411 = &device_creator<keycus_c411_device>;
/* xevious 3d/g */
-keycus_c430_device::keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c430_device::keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C430, "Namco C430 KEYCUS", tag, owner, clock, "keycus_c430", __FILE__)
{
}
@@ -227,7 +227,7 @@ READ16_MEMBER(keycus_c430_device::read)
{
if( m_p2 == 0x0000 && ( ( m_p1 == 0xbfff && m_p3 == 0x0000 ) || m_p3 == 0xe296 ) )
{
- UINT16 value = m_p1;
+ uint16_t value = m_p1;
if( m_p3 != 0xe296 )
{
@@ -277,7 +277,7 @@ const device_type KEYCUS_C430 = &device_creator<keycus_c430_device>;
/* dancing eyes */
-keycus_c431_device::keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c431_device::keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C431, "Namco C431 KEYCUS", tag, owner, clock, "keycus_c431", __FILE__)
{
}
@@ -286,7 +286,7 @@ READ16_MEMBER(keycus_c431_device::read)
{
if( m_p2 == 0x0000 && ( ( ( m_p1 == 0x0000 || m_p1 == 0xab50 ) && m_p3 == 0x7fff ) || m_p1 == 0x9e61 ) )
{
- UINT16 value = m_p3;
+ uint16_t value = m_p3;
if( m_p1 != 0x9e61 )
{
@@ -335,7 +335,7 @@ const device_type KEYCUS_C431 = &device_creator<keycus_c431_device>;
/* pocket racer */
-keycus_c432_device::keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c432_device::keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C432, "Namco C432 KEYCUS", tag, owner, clock, "keycus_c432", __FILE__)
{
}
@@ -344,7 +344,7 @@ READ16_MEMBER(keycus_c432_device::read)
{
if( m_p1 == 0x0000 && ( ( ( m_p3 == 0x0000 || m_p3 == 0x00dc ) && m_p2 == 0xefff ) || m_p3 == 0x2f15 ) )
{
- UINT16 value = m_p2;
+ uint16_t value = m_p2;
if( m_p3 != 0x00002f15 )
{
@@ -395,7 +395,7 @@ const device_type KEYCUS_C432 = &device_creator<keycus_c432_device>;
/* star sweep */
-keycus_c442_device::keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c442_device::keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C442, "Namco C442 KEYCUS", tag, owner, clock, "keycus_c442", __FILE__)
{
}
@@ -443,7 +443,7 @@ const device_type KEYCUS_C442 = &device_creator<keycus_c442_device>;
/* kosodate quiz my angel 3 / point blank 2 */
-keycus_c443_device::keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c443_device::keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
ns11_keycus_device(mconfig, KEYCUS_C443, "Namco C443 KEYCUS", tag, owner, clock, "keycus_c443", __FILE__)
{
}