summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/intelfsh.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-04-04 07:03:38 +1100
committer Vas Crabb <vas@vastheman.com>2020-04-04 07:03:38 +1100
commitbce322107551daf8c069957df66689ba2d611aa4 (patch)
tree261771ac014a55f3b2cebdf12838acbd61aee7ae /src/devices/machine/intelfsh.cpp
parent17f760e9b3b78b23690846b88924b2cbc4c5ff58 (diff)
more random cleanup (nw)
Diffstat (limited to 'src/devices/machine/intelfsh.cpp')
-rw-r--r--src/devices/machine/intelfsh.cpp8
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;