static void video_start_common(running_machine *machine, int type) { /* compute palette info */ segaic16_palette_init(0x800); /* initialize the tile/text layers */ segaic16_tilemap_init(machine, 0, type, 0x000, 0, 2); /* initialize the sprites */ segaic16_sprites_init(machine, 0, SEGAIC16_SPRITES_16B, 0x400, 0); }
void segaxbd_state::video_start() { // compute palette info segaic16_palette_init(0x2000); // initialize the tile/text layers segaic16_tilemap_init(machine(), 0, SEGAIC16_TILEMAP_16B, 0x1c00, 0, 2); // initialize the road segaic16_road_init(machine(), 0, SEGAIC16_ROAD_XBOARD, 0x1700, 0x1720, 0x1780, -166); }
static int video_start_common(int type) { /* compute palette info */ segaic16_palette_init(0x800); /* initialize the tile/text layers */ if (segaic16_tilemap_init(0, type, 0x000, 0, 2)) return 1; /* initialize the sprites */ if (segaic16_sprites_init(0, SEGAIC16_SPRITES_16B, 0x400, 0)) return 1; return 0; }