Exemple #1
0
void galpani3_state::video_start()
{
	/* so we can use suprnova.c */

	m_spritegen = machine().device<sknsspr_device>("spritegen");
	m_spritegen->skns_sprite_kludge(0,0);
}
Exemple #2
0
void jchan_state::video_start()
{
	/* so we can use suprnova.c */
	m_sprite_ram32_1 = auto_alloc_array(machine(), UINT32, 0x4000/4);
	m_sprite_ram32_2 = auto_alloc_array(machine(), UINT32, 0x4000/4);

	m_sprite_regs32_1 = auto_alloc_array(machine(), UINT32, 0x40/4);
	m_sprite_regs32_2 = auto_alloc_array(machine(), UINT32, 0x40/4);

	m_sprite_bitmap_1 = auto_bitmap_ind16_alloc(machine(),1024,1024);
	m_sprite_bitmap_2 = auto_bitmap_ind16_alloc(machine(),1024,1024);

	m_spritegen1 = machine().device<sknsspr_device>("spritegen1");
	m_spritegen2 = machine().device<sknsspr_device>("spritegen2");


	m_spritegen1->skns_sprite_kludge(0,0);
	m_spritegen2->skns_sprite_kludge(0,0);
}