diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2021-08-31 12:30:11 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2021-08-31 12:30:11 -0400 |
commit | ccaa00b3ed00d63b4781270c992e00b63811c85d (patch) | |
tree | 6b40a2b00ca27c61f0a6d5ddb5bab9f78fefcdec /src/emu/debug | |
parent | d7e65e3f42611b3fdd299aff1304dc4b786a571b (diff) |
Move endianness type into lib/util header
Diffstat (limited to 'src/emu/debug')
-rw-r--r-- | src/emu/debug/dvmemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvmemory.cpp b/src/emu/debug/dvmemory.cpp index fea8def590e..2e384e90866 100644 --- a/src/emu/debug/dvmemory.cpp +++ b/src/emu/debug/dvmemory.cpp @@ -70,7 +70,7 @@ debug_view_memory_source::debug_view_memory_source(std::string &&name, memory_re , m_blocklength(region.bytes()) , m_numblocks(1) , m_blockstride(0) - , m_offsetxor(ENDIAN_VALUE_NE_NNE(region.endianness(), 0, region.bytewidth() - 1)) + , m_offsetxor(region.endianness() == ENDIANNESS_NATIVE ? 0 : region.bytewidth() - 1) , m_endianness(region.endianness()) , m_prefsize(std::min<u8>(region.bytewidth(), 8)) { |