diff options
author | 2018-11-05 19:11:18 +0100 | |
---|---|---|
committer | 2018-11-05 19:11:18 +0100 | |
commit | 13247311f650d2190ca50f05f2879c63a3ad0b6b (patch) | |
tree | 565cf81b012b0879a1ef304c955908ea016d2dc6 /src/emu/save.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/emu/save.cpp')
-rw-r--r-- | src/emu/save.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/save.cpp b/src/emu/save.cpp index 38ad52a9a88..d8051c72390 100644 --- a/src/emu/save.cpp +++ b/src/emu/save.cpp @@ -902,19 +902,19 @@ void state_entry::flip_data() case 2: data16 = (u16 *)m_data; for (count = 0; count < m_typecount; count++) - data16[count] = flipendian_int16(data16[count]); + data16[count] = swapendian_int16(data16[count]); break; case 4: data32 = (u32 *)m_data; for (count = 0; count < m_typecount; count++) - data32[count] = flipendian_int32(data32[count]); + data32[count] = swapendian_int32(data32[count]); break; case 8: data64 = (u64 *)m_data; for (count = 0; count < m_typecount; count++) - data64[count] = flipendian_int64(data64[count]); + data64[count] = swapendian_int64(data64[count]); break; } } |