summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/gt64xxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/gt64xxx.cpp')
-rw-r--r--src/devices/machine/gt64xxx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/gt64xxx.cpp b/src/devices/machine/gt64xxx.cpp
index df1f2e336a8..fdde2d52c66 100644
--- a/src/devices/machine/gt64xxx.cpp
+++ b/src/devices/machine/gt64xxx.cpp
@@ -673,7 +673,7 @@ READ32_MEMBER (gt64xxx_device::cpu_if_r)
break;
}
- if (m_be) result = flipendian_int32(result);
+ if (m_be) result = swapendian_int32(result);
return result;
}
@@ -681,8 +681,8 @@ READ32_MEMBER (gt64xxx_device::cpu_if_r)
WRITE32_MEMBER(gt64xxx_device::cpu_if_w)
{
if (m_be) {
- data = flipendian_int32(data);
- mem_mask = flipendian_int32(mem_mask);
+ data = swapendian_int32(data);
+ mem_mask = swapendian_int32(mem_mask);
}
uint32_t oldata = m_reg[offset];