summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2017-09-19 18:17:27 +0800
committer Patrick Mackinlay <pmackinlay@hotmail.com>2017-09-19 18:17:27 +0800
commit056f7f2d62aab282081985b4f2950817fe564c55 (patch)
tree8039249afdeacd5e8958d3d3a737093559f88485
parentdbf88adb64077ed3f2c2901d8e349f85265a5b4e (diff)
eeprom: don't check endianness (nw)
I don't know why this check for endianness is here, but I don't believe it's appropriate.
-rw-r--r--src/devices/machine/eeprom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/eeprom.cpp b/src/devices/machine/eeprom.cpp
index 48bed1af960..b5866d3fd4c 100644
--- a/src/devices/machine/eeprom.cpp
+++ b/src/devices/machine/eeprom.cpp
@@ -258,8 +258,8 @@ void eeprom_base_device::nvram_default()
fatalerror("eeprom region '%s' wrong size (expected size = 0x%X)\n", tag(), eeprom_bytes);
if (m_data_bits == 8 && m_region->bytewidth() != 1)
fatalerror("eeprom region '%s' needs to be an 8-bit region\n", tag());
- if (m_data_bits == 16 && (m_region->bytewidth() != 2 || m_region->endianness() != ENDIANNESS_BIG))
- fatalerror("eeprom region '%s' needs to be a 16-bit big-endian region\n", tag());
+ if (m_data_bits == 16 && m_region->bytewidth() != 2)
+ fatalerror("eeprom region '%s' needs to be a 16-bit region\n", tag());
osd_printf_verbose("Loading data from EEPROM region '%s'\n", tag());
memcpy(&m_data[0], m_region->base(), eeprom_bytes);