From caf233e1fc1fbbb7a388e361584a908d19fbdf6e Mon Sep 17 00:00:00 2001 From: Pierpaolo Prazzoli Date: Wed, 4 Mar 2009 21:06:57 +0000 Subject: [PATCH] Changed eeprom erase command to write 0xff values. -------------------------------------------------- I see that eeprom_data is initialized with a memeset of 0xff so I don't think this change will break anything. --- src/emu/machine/eeprom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/machine/eeprom.c b/src/emu/machine/eeprom.c index 8db3e9ab6f0..6df782121a4 100644 --- a/src/emu/machine/eeprom.c +++ b/src/emu/machine/eeprom.c @@ -209,11 +209,11 @@ logerror("EEPROM erase address %02x\n",address); { if (intf->data_bits == 16) { - eeprom_data[2*address+0] = 0x00; - eeprom_data[2*address+1] = 0x00; + eeprom_data[2*address+0] = 0xff; + eeprom_data[2*address+1] = 0xff; } else - eeprom_data[address] = 0x00; + eeprom_data[address] = 0xff; } else logerror("Error: EEPROM is locked\n");