| 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 |
| r9174 | r9175 | |
|---|---|---|
| 589 | 589 | m_status = 1 << 3; |
| 590 | 590 | m_flash_mode = FM_ERASEAMD4; |
| 591 | 591 | |
| 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 | } | |
| 593 | 600 | } |
| 594 | 601 | else if( ( data & 0xff ) == 0x30 ) |
| 595 | 602 | { |
| Previous | 15994 Revisions | Next |