Erase to ff, *duh* (nw)

This commit is contained in:
Olivier Galibert 2016-06-18 20:04:28 +02:00
parent 21af6ad0a8
commit 2685e8a74c

View File

@ -834,7 +834,7 @@ void intelfsh_device::write_full(UINT32 address, UINT32 data)
(( address & 0xfff ) == 0xaaa && ( data & 0xff ) == 0x10 ) )
{
// chip erase
memset(&m_data[0], 0, m_size);
memset(&m_data[0], 0xff, m_size);
m_status = 1 << 3;
m_flash_mode = FM_ERASEAMD4;