summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/upd65031.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/upd65031.cpp')
-rw-r--r--src/mame/machine/upd65031.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/upd65031.cpp b/src/mame/machine/upd65031.cpp
index 86d9ff5e093..0e54f374bac 100644
--- a/src/mame/machine/upd65031.cpp
+++ b/src/mame/machine/upd65031.cpp
@@ -195,7 +195,7 @@ inline void upd65031_device::set_mode(int mode)
// upd65031_device - constructor
//-------------------------------------------------
-upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock, "upd65031", __FILE__),
m_read_kb(*this),
m_write_int(*this),
@@ -386,7 +386,7 @@ void upd65031_device::device_timer(emu_timer &timer, device_timer_id id, int par
// screen_update
//-------------------------------------------------
-UINT32 upd65031_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t upd65031_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
if (!m_screen_update_cb.isnull() && (m_com & COM_LCDON))
m_screen_update_cb(bitmap, m_lcd_regs[4], m_lcd_regs[2], m_lcd_regs[3], m_lcd_regs[0], m_lcd_regs[1], m_flash);
@@ -402,7 +402,7 @@ UINT32 upd65031_device::screen_update(screen_device &screen, bitmap_ind16 &bitma
READ8_MEMBER( upd65031_device::read )
{
- UINT8 port = offset & 0xff;
+ uint8_t port = offset & 0xff;
switch (port)
{
@@ -419,7 +419,7 @@ READ8_MEMBER( upd65031_device::read )
if (LOG) logerror("uPD65031 '%s': entering snooze!\n", tag());
}
- UINT8 data = m_read_kb(offset>>8);
+ uint8_t data = m_read_kb(offset>>8);
if (LOG) logerror("uPD65031 '%s': key r %02x: %02x\n", tag(), offset>>8, data);
@@ -468,7 +468,7 @@ READ8_MEMBER( upd65031_device::read )
WRITE8_MEMBER( upd65031_device::write )
{
- UINT8 port = offset & 0xff;
+ uint8_t port = offset & 0xff;
switch (port)
{