Previous 199869 Revisions Next

r21762 Saturday 9th March, 2013 at 09:38:18 UTC by Oliver Stöneberg
fixed uninitialized and disabled unused member in src/mess/machine/at45dbxx.c (nw)
[src/emu/machine]at45dbxx.c at45dbxx.h

trunk/src/emu/machine/at45dbxx.c
r21761r21762
7878   m_size = num_pages() * page_size();
7979   m_data = auto_alloc_array(machine(), UINT8, m_size);
8080   m_buffer1 = auto_alloc_array(machine(), UINT8, page_size());
81   m_buffer2 = auto_alloc_array(machine(), UINT8, page_size());
81   //m_buffer2 = auto_alloc_array(machine(), UINT8, page_size());
8282
8383   // data
8484   save_pointer(NAME(m_data), m_size);
r21761r21762
102102   _logerror( 1, ("at45dbxx_reset\n"));
103103   // mode
104104   m_mode = FLASH_MODE_SI;
105   m_status = 0;
105106   // command
106107   memset(&m_cmd.data[0], 0, sizeof(m_cmd.data));
107108   m_cmd.size = 0;
trunk/src/emu/machine/at45dbxx.h
r21761r21762
7373   UINT8       m_mode;
7474   UINT8       m_status;
7575   UINT8 *     m_buffer1;
76   UINT8 *     m_buffer2;
76   //UINT8 *     m_buffer2;
7777   UINT8       m_si_byte;
7878   UINT8       m_si_bits;
7979   UINT8       m_so_byte;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team