summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/uml.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-11-05 19:11:18 +0100
committer mooglyguy <therealmogminer@gmail.com>2018-11-05 19:11:18 +0100
commit13247311f650d2190ca50f05f2879c63a3ad0b6b (patch)
tree565cf81b012b0879a1ef304c955908ea016d2dc6 /src/devices/cpu/uml.cpp
parent884465327b05bdbc0eae9894d4b84744a8ab5567 (diff)
Renamed flipendian -> swapendian, as I spent minutes trying to find the functions to tell to another person who spent minutes trying to find the functions, and we refer to such functions as swapping just about everywhere else in the codebase, nw
Diffstat (limited to 'src/devices/cpu/uml.cpp')
-rw-r--r--src/devices/cpu/uml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/uml.cpp b/src/devices/cpu/uml.cpp
index a26f3a92038..84cdfc9a1b6 100644
--- a/src/devices/cpu/uml.cpp
+++ b/src/devices/cpu/uml.cpp
@@ -647,9 +647,9 @@ void uml::instruction::simplify()
if (m_param[1].is_immediate())
{
if (m_size == 4)
- convert_to_mov_immediate(flipendian_int32(m_param[1].immediate()));
+ convert_to_mov_immediate(swapendian_int32(m_param[1].immediate()));
else if (m_size == 8)
- convert_to_mov_immediate(flipendian_int64(m_param[1].immediate()));
+ convert_to_mov_immediate(swapendian_int64(m_param[1].immediate()));
}
break;