summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/eeprom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/eeprom.cpp')
-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 b5866d3fd4c..2ed8e3fa65c 100644
--- a/src/devices/machine/eeprom.cpp
+++ b/src/devices/machine/eeprom.cpp
@@ -317,8 +317,8 @@ void eeprom_base_device::internal_write(offs_t address, uint32_t data)
{
if (m_data_bits == 16)
{
- m_data[address*2] = data;
- m_data[address*2+1] = data >> 8;
+ m_data[address * 2] = data;
+ m_data[address * 2 + 1] = data >> 8;
} else
m_data[address] = data;
}