diff options
Diffstat (limited to 'src/devices/machine/v3021.cpp')
-rw-r--r-- | src/devices/machine/v3021.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/v3021.cpp b/src/devices/machine/v3021.cpp index d7caf681c70..73f984fd67c 100644 --- a/src/devices/machine/v3021.cpp +++ b/src/devices/machine/v3021.cpp @@ -33,14 +33,14 @@ const device_type v3021 = &device_creator<v3021_device>; // v3021_device - constructor //------------------------------------------------- -v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, v3021, "V3021 RTC", tag, owner, clock, "v3021", __FILE__), m_cal_mask(0), m_cal_com(0), m_cal_cnt(0), m_cal_val(0) { } TIMER_CALLBACK_MEMBER(v3021_device::timer_callback) { - static const UINT8 dpm[12] = { 0x31, 0x28, 0x31, 0x30, 0x31, 0x30, 0x31, 0x31, 0x30, 0x31, 0x30, 0x31 }; + static const uint8_t dpm[12] = { 0x31, 0x28, 0x31, 0x30, 0x31, 0x30, 0x31, 0x31, 0x30, 0x31, 0x30, 0x31 }; int dpm_count; m_rtc.sec++; @@ -116,7 +116,7 @@ void v3021_device::device_reset() READ8_MEMBER( v3021_device::read ) { - UINT8 calr = (m_cal_val & m_cal_mask) ? 1 : 0; + uint8_t calr = (m_cal_val & m_cal_mask) ? 1 : 0; m_cal_mask <<= 1; return calr; |