summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/chanf/slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/chanf/slot.cpp')
-rw-r--r--src/devices/bus/chanf/slot.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/chanf/slot.cpp b/src/devices/bus/chanf/slot.cpp
index 3aa7e43146d..ba0fbb622a8 100644
--- a/src/devices/bus/chanf/slot.cpp
+++ b/src/devices/bus/chanf/slot.cpp
@@ -45,7 +45,7 @@ device_channelf_cart_interface::~device_channelf_cart_interface()
// rom_alloc - alloc the space for the cart
//-------------------------------------------------
-void device_channelf_cart_interface::rom_alloc(UINT32 size, const char *tag)
+void device_channelf_cart_interface::rom_alloc(uint32_t size, const char *tag)
{
if (m_rom == nullptr)
{
@@ -59,7 +59,7 @@ void device_channelf_cart_interface::rom_alloc(UINT32 size, const char *tag)
// ram_alloc - alloc the space for the ram
//-------------------------------------------------
-void device_channelf_cart_interface::ram_alloc(UINT32 size)
+void device_channelf_cart_interface::ram_alloc(uint32_t size)
{
m_ram.resize(size);
}
@@ -72,7 +72,7 @@ void device_channelf_cart_interface::ram_alloc(UINT32 size)
//-------------------------------------------------
// channelf_cart_slot_device - constructor
//-------------------------------------------------
-channelf_cart_slot_device::channelf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+channelf_cart_slot_device::channelf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, CHANF_CART_SLOT, "Fairchild Channel F Cartridge Slot", tag, owner, clock, "cf_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this),
@@ -163,7 +163,7 @@ image_init_result channelf_cart_slot_device::call_load()
{
if (m_cart)
{
- UINT32 len = (software_entry() == nullptr) ? length() : get_software_region_length("rom");
+ uint32_t len = (software_entry() == nullptr) ? length() : get_software_region_length("rom");
m_cart->rom_alloc(len, tag());
if (software_entry() == nullptr)
@@ -210,7 +210,7 @@ std::string channelf_cart_slot_device::get_default_card_software()
if (open_image_file(mconfig().options()))
{
const char *slot_string;
- UINT32 len = m_file->size();
+ uint32_t len = m_file->size();
int type;
if (len == 0x40000)