#include "video/deco16ic.h"

class sshangha_state : public driver_device
{
public:
	sshangha_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag),
		 m_deco_tilegen1(*this, "tilegen1")
		{ }

	UINT16 *m_prot_data;
	UINT16 *m_sound_shared_ram;
	int m_video_control;

	UINT16* m_pf1_rowscroll;
	UINT16* m_pf2_rowscroll;

	UINT16* m_sprite_paletteram;
	UINT16* m_sprite_paletteram2;
	UINT16* m_tile_paletteram1;
	UINT16* m_tile_paletteram2;

	required_device<deco16ic_device> m_deco_tilegen1;
};


/*----------- defined in video/sshangha.c -----------*/

VIDEO_START( sshangha );
SCREEN_UPDATE_RGB32( sshangha );

WRITE16_HANDLER( sshangha_video_w );
