Skip to content

Commit

Permalink
kaneko_calc3: Stop trashing memory [O. Galibert]
Browse files Browse the repository at this point in the history
  • Loading branch information
galibert committed Aug 16, 2016
1 parent d7099a7 commit c0bb8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mame/machine/kaneko_calc3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

}
Expand Down

0 comments on commit c0bb8bc

Please sign in to comment.