Previous 15994 Revisions Next

r11617 Sunday 22nd May, 2011 at 09:25:07 UTC by Curt Coder
Synced with MAME.
[src/emu/cpu/cosmac]cosmac.c

src/emu/cpu/cosmac/cosmac.c
r11616r11617
217217   if (intf != NULL)
218218      *static_cast<cosmac_interface *>(this) = *intf;
219219
220   // or initialize to defaults if none provided
220   // or error out if none provided
221221   else
222222   {
223      memset(&m_in_wait_func, 0, sizeof(m_in_wait_func));
224      memset(&m_in_clear_func, 0, sizeof(m_in_clear_func));
225      // TODO: clear ef1-4
226      memset(&m_out_q_func, 0, sizeof(m_out_q_func));
227      memset(&m_in_dma_func, 0, sizeof(m_in_dma_func));
228      memset(&m_out_dma_func, 0, sizeof(m_out_dma_func));
229      m_out_sc_func = NULL;
230      memset(&m_out_tpa_func, 0, sizeof(m_out_tpa_func));
231      memset(&m_out_tpb_func, 0, sizeof(m_out_tpb_func));
223      fatalerror("COSMAC_INTERFACE for cpu '%s' not defined!", tag());
232224   }
233225}
234226

Previous 15994 Revisions Next


© 1998-2018 The MESS Team