summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1204.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/ds1204.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/machine/ds1204.cpp')
-rw-r--r--src/devices/machine/ds1204.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/ds1204.cpp b/src/devices/machine/ds1204.cpp
index 56d57267ad3..62df5bce313 100644
--- a/src/devices/machine/ds1204.cpp
+++ b/src/devices/machine/ds1204.cpp
@@ -29,7 +29,7 @@ inline void ATTR_PRINTF( 3, 4 ) ds1204_device::verboselog( int n_level, const ch
// device type definition
const device_type DS1204 = &device_creator<ds1204_device>;
-ds1204_device::ds1204_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
+ds1204_device::ds1204_device( const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock )
: device_t( mconfig, DS1204, "DS1204", tag, owner, clock, "ds1204", __FILE__ ),
device_nvram_interface(mconfig, *this),
m_region(*this, DEVICE_SELF),
@@ -80,7 +80,7 @@ void ds1204_device::nvram_default()
}
else
{
- UINT8 *region = m_region->base();
+ uint8_t *region = m_region->base();
memcpy( m_unique_pattern, region, sizeof( m_unique_pattern ) ); region += sizeof( m_unique_pattern );
memcpy( m_identification, region, sizeof( m_identification ) ); region += sizeof( m_identification );
@@ -111,7 +111,7 @@ void ds1204_device::new_state( int state )
m_bit = 0;
}
-void ds1204_device::writebit( UINT8 *buffer )
+void ds1204_device::writebit( uint8_t *buffer )
{
if( m_clk )
{
@@ -131,7 +131,7 @@ void ds1204_device::writebit( UINT8 *buffer )
}
}
-void ds1204_device::readbit( UINT8 *buffer )
+void ds1204_device::readbit( uint8_t *buffer )
{
if( !m_clk )
{