summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpci.cpp')
-rw-r--r--src/devices/machine/lpci.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/lpci.cpp b/src/devices/machine/lpci.cpp
index 004b50dfcaf..c5b53baa840 100644
--- a/src/devices/machine/lpci.cpp
+++ b/src/devices/machine/lpci.cpp
@@ -89,7 +89,7 @@ const device_type PCI_BUS_LEGACY = &device_creator<pci_bus_legacy_device>;
//-------------------------------------------------
// pci_bus_legacy_device - constructor
//-------------------------------------------------
-pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, PCI_BUS_LEGACY, "PCI Bus Legacy", tag, owner, clock, "pci_bus_legacy", __FILE__),
m_father(nullptr)
{
@@ -107,7 +107,7 @@ pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, cons
READ32_MEMBER( pci_bus_legacy_device::read )
{
- UINT32 result = 0xffffffff;
+ uint32_t result = 0xffffffff;
int function, reg;
offset %= 2;
@@ -211,12 +211,12 @@ WRITE32_MEMBER( pci_bus_legacy_device::write )
READ64_MEMBER(pci_bus_legacy_device::read_64be)
{
- UINT64 result = 0;
+ uint64_t result = 0;
mem_mask = flipendian_int64(mem_mask);
if (ACCESSING_BITS_0_31)
- result |= (UINT64)read(space, offset * 2 + 0, mem_mask >> 0) << 0;
+ result |= (uint64_t)read(space, offset * 2 + 0, mem_mask >> 0) << 0;
if (ACCESSING_BITS_32_63)
- result |= (UINT64)read(space, offset * 2 + 1, mem_mask >> 32) << 32;
+ result |= (uint64_t)read(space, offset * 2 + 1, mem_mask >> 32) << 32;
return flipendian_int64(result);
}