1
/*******************************************************************************
3
actfancr - Bryan McPhail, mish@tendril.co.uk
5
*******************************************************************************/
8
#include "includes/actfancr.h"
9
#include "video/decbac06.h"
10
#include "video/decmxc06.h"
12
/******************************************************************************/
14
static void register_savestate( running_machine &machine )
16
actfancr_state *state = machine.driver_data<actfancr_state>();
17
state->save_item(NAME(state->m_flipscreen));
20
VIDEO_START( actfancr )
22
register_savestate(machine);
25
/******************************************************************************/
27
SCREEN_UPDATE( actfancr )
29
actfancr_state *state = screen->machine().driver_data<actfancr_state>();
32
//state->m_flipscreen = state->m_control_2[0] & 0x80;
33
//tilemap_set_flip_all(screen->machine(), state->m_flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
35
screen->machine().device<deco_bac06_device>("tilegen1")->deco_bac06_pf_draw(screen->machine(),bitmap,cliprect,TILEMAP_DRAW_OPAQUE, 0x00, 0x00, 0x00, 0x00);
36
screen->machine().device<deco_mxc06_device>("spritegen")->draw_sprites(screen->machine(), bitmap, cliprect, state->m_spriteram16, 0x00, 0x00, 0x0f);
37
screen->machine().device<deco_bac06_device>("tilegen2")->deco_bac06_pf_draw(screen->machine(),bitmap,cliprect,0, 0x00, 0x00, 0x00, 0x00);