MACHINE_CONFIG_END /*****************************************************************************/ DRIVER_INIT_MEMBER(zr107_state,common) { m_sharc_dataram = auto_alloc_array(machine(), UINT32, 0x100000/4); m_led_reg0 = m_led_reg1 = 0x7f; m_ccu_vcth = m_ccu_vctl = 0; K001005_preprocess_texture_data(memregion("gfx1")->base(), memregion("gfx1")->bytes(), 0); }
MACHINE_CONFIG_END /*****************************************************************************/ static void init_zr107(running_machine &machine) { zr107_state *state = machine.driver_data<zr107_state>(); state->m_sharc_dataram = auto_alloc_array(machine, UINT32, 0x100000/4); state->m_led_reg0 = state->m_led_reg1 = 0x7f; state->m_ccu_vcth = state->m_ccu_vctl = 0; K001005_preprocess_texture_data(state->memregion("gfx1")->base(), state->memregion("gfx1")->bytes(), 0); }