diff options
author | 2013-03-09 09:38:18 +0000 | |
---|---|---|
committer | 2013-03-09 09:38:18 +0000 | |
commit | 4ed6e530886ad54bf3e2746769bb90a4e3e7a617 (patch) | |
tree | a584316d074022daeb65f810d032e7a032f1ee33 /src/emu/machine/at45dbxx.c | |
parent | 4a1f2f773501f5699e9615f24ecc938cc5278958 (diff) |
fixed uninitialized and disabled unused member in src/mess/machine/at45dbxx.c (nw)
Diffstat (limited to 'src/emu/machine/at45dbxx.c')
-rw-r--r-- | src/emu/machine/at45dbxx.c | 3 |
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; |