Previous 15994 Revisions Next

r9175 Saturday 18th September, 2010 at 12:38:48 UTC by R. Belmont
Lower erase timing for small chips; fixes saving in GBA Sword of Mana.
[src/emu/machine]intelfsh.c

src/emu/machine/intelfsh.c
r9174r9175
589589         m_status = 1 << 3;
590590         m_flash_mode = FM_ERASEAMD4;
591591
592         timer_adjust_oneshot( m_timer, ATTOTIME_IN_SEC( 17 ), 0 );
592         if (m_config.m_sector_is_4k)
593         {
594            timer_adjust_oneshot( m_timer, ATTOTIME_IN_SEC( 1 ), 0 );
595         }
596         else
597         {
598            timer_adjust_oneshot( m_timer, ATTOTIME_IN_SEC( 16 ), 0 );
599         }
593600      }
594601      else if( ( data & 0xff ) == 0x30 )
595602      {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team