diff options
author | 2020-04-06 03:52:34 +1000 | |
---|---|---|
committer | 2020-04-06 03:52:34 +1000 | |
commit | c3da4c5b4bc8cffcd481ea06dfbc56b8e9689a87 (patch) | |
tree | e00fd7b3267dea5c700ecca2d9b5895668a95264 /src/devices/machine/intelfsh.cpp | |
parent | f72d38f677b9365f6d0871a613aedf0ac90dcbf2 (diff) | |
parent | c5c5723b9d5c19220825eaaebf4eb12e2f452a7a (diff) |
Merge tag 'mame0220' into mainline-master
MAME 0.220
Diffstat (limited to 'src/devices/machine/intelfsh.cpp')
-rw-r--r-- | src/devices/machine/intelfsh.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/intelfsh.cpp b/src/devices/machine/intelfsh.cpp index 8523eb61e24..027340e4736 100644 --- a/src/devices/machine/intelfsh.cpp +++ b/src/devices/machine/intelfsh.cpp @@ -739,15 +739,15 @@ void intelfsh_device::write_full(uint32_t address, uint32_t data) logerror("Invalid flash mode byte %x\n", data & 0xff); else { - m_status = 0x80; - m_flash_mode = FM_READSTATUS; + m_status = 0x80; + m_flash_mode = FM_READSTATUS; } break; case 0x20: // block erase if (m_type == FLASH_SST_49LF020) logerror("Unknown flash mode byte %x\n", data & 0xff); else - m_flash_mode = FM_CLEARPART1; + m_flash_mode = FM_CLEARPART1; break; case 0x60: // set master lock m_flash_mode = FM_SETMASTER; @@ -923,7 +923,7 @@ void intelfsh_device::write_full(uint32_t address, uint32_t data) memset(&m_data[0x3C000], 0xff, 0x04000); } else - memset(&m_data[0], 0xff, m_size); + memset(&m_data[0], 0xff, m_size); m_status = 1 << 3; m_flash_mode = FM_ERASEAMD4; |