summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/msx_switched.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/msx_switched.cpp')
-rw-r--r--src/mame/machine/msx_switched.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/msx_switched.cpp b/src/mame/machine/msx_switched.cpp
index f810f2c2dc2..160f4564ee0 100644
--- a/src/mame/machine/msx_switched.cpp
+++ b/src/mame/machine/msx_switched.cpp
@@ -4,7 +4,7 @@
#include "msx_switched.h"
-msx_switched_device::msx_switched_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)
+msx_switched_device::msx_switched_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)
{
}
@@ -15,8 +15,8 @@ void msx_switched_device::device_start()
address_space &space = dynamic_cast<device_memory_interface*>(owner())->space();
// Install IO read/write handlers
- UINT16 start = ( get_id() << 8 ) | 0x00;
- UINT16 end = ( get_id() << 8 ) | 0x0f;
+ uint16_t start = ( get_id() << 8 ) | 0x00;
+ uint16_t end = ( get_id() << 8 ) | 0x0f;
space.install_read_handler(start, end, read8_delegate(FUNC(msx_switched_device::io_read), this));
space.install_write_handler(start, end, write8_delegate(FUNC(msx_switched_device::io_write), this));
}