summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/at45dbxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/at45dbxx.c')
-rw-r--r--src/emu/machine/at45dbxx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/machine/at45dbxx.c b/src/emu/machine/at45dbxx.c
index 0128ccf7469..672d0a7c97f 100644
--- a/src/emu/machine/at45dbxx.c
+++ b/src/emu/machine/at45dbxx.c
@@ -78,7 +78,7 @@ void at45db041_device::device_start()
m_size = num_pages() * page_size();
m_data = auto_alloc_array(machine(), UINT8, m_size);
m_buffer1 = auto_alloc_array(machine(), UINT8, page_size());
- m_buffer2 = auto_alloc_array(machine(), UINT8, page_size());
+ //m_buffer2 = auto_alloc_array(machine(), UINT8, page_size());
// data
save_pointer(NAME(m_data), m_size);
@@ -102,6 +102,7 @@ void at45db041_device::device_reset()
_logerror( 1, ("at45dbxx_reset\n"));
// mode
m_mode = FLASH_MODE_SI;
+ m_status = 0;
// command
memset(&m_cmd.data[0], 0, sizeof(m_cmd.data));
m_cmd.size = 0;