mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
kaneko_calc3: Stop trashing memory [O. Galibert]
This commit is contained in:
parent
d7099a7d46
commit
c0bb8bc5da
@ -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");
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user