mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
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.
This commit is contained in:
parent
1c544a0426
commit
caf233e1fc
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user