kaneko_calc3: Stop trashing memory [O. Galibert]

This commit is contained in:
Olivier Galibert 2016-08-16 23:02:42 +02:00
parent d7099a7d46
commit c0bb8bc5da

View File

@ -1338,9 +1338,9 @@ int kaneko_calc3_device::decompress_table(int tabnum, UINT8* dstram, int dstoffs
{
eeprom_serial_93cxx_device *eeprom = space.machine().device<eeprom_serial_93cxx_device>(":eeprom");
for (i=0;i<0x80;i++)
for (i=0;i<0x40;i++)
{
eeprom->internal_write(i, space.read_byte(m_eeprom_addr+0x200000+i));
eeprom->internal_write(i, space.read_word(m_eeprom_addr+0x200000+2*i));
}
}