diff options
| author | 2018-11-05 19:11:18 +0100 | |
|---|---|---|
| committer | 2018-11-05 19:11:18 +0100 | |
| commit | 13247311f650d2190ca50f05f2879c63a3ad0b6b (patch) | |
| tree | 565cf81b012b0879a1ef304c955908ea016d2dc6 /src/devices/cpu/drcbec.cpp | |
| parent | 884465327b05bdbc0eae9894d4b84744a8ab5567 (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/drcbec.cpp')
| -rw-r--r-- | src/devices/cpu/drcbec.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/drcbec.cpp b/src/devices/cpu/drcbec.cpp index 5dc7499988a..def49d3b04c 100644 --- a/src/devices/cpu/drcbec.cpp +++ b/src/devices/cpu/drcbec.cpp @@ -1083,13 +1083,13 @@ int drcbe_c::execute(code_handle &entry) case MAKE_OPCODE_SHORT(OP_BSWAP, 4, 0): // BSWAP dst,src temp32 = PARAM1; - PARAM0 = flipendian_int32(temp32); + PARAM0 = swapendian_int32(temp32); break; case MAKE_OPCODE_SHORT(OP_BSWAP, 4, 1): temp32 = PARAM1; flags = FLAGS32_NZ(temp32); - PARAM0 = flipendian_int32(temp32); + PARAM0 = swapendian_int32(temp32); break; case MAKE_OPCODE_SHORT(OP_SHL, 4, 0): // SHL dst,src,count[,f] @@ -1702,13 +1702,13 @@ int drcbe_c::execute(code_handle &entry) case MAKE_OPCODE_SHORT(OP_BSWAP, 8, 0): // DBSWAP dst,src temp64 = DPARAM1; - DPARAM0 = flipendian_int64(temp64); + DPARAM0 = swapendian_int64(temp64); break; case MAKE_OPCODE_SHORT(OP_BSWAP, 8, 1): temp64 = DPARAM1; flags = FLAGS64_NZ(temp64); - DPARAM0 = flipendian_int64(temp64); + DPARAM0 = swapendian_int64(temp64); break; case MAKE_OPCODE_SHORT(OP_SHL, 8, 0): // DSHL dst,src,count[,f] |
