summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fantland.h
blob: efb5c1ff4435d9a1d3cf5abb0b91c114b908cf52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
typedef struct _fantland_state fantland_state;
struct _fantland_state
{
	/* memory pointers */
//  UINT8 *    spriteram;   // currently directly used in a 16bit map...
//  UINT8 *    spriteram_2; // currently directly used in a 16bit map...
//  UINT8 *    paletteram;  // currently this uses generic palette handling

	/* misc */
	UINT8      nmi_enable;
	int        old_x[2], old_y[2], old_f[2];
	UINT8      input_ret[2];
	int        adpcm_playing[4];
	int        adpcm_addr[2][4];
	int        adpcm_nibble[4];

	/* devices */
	const device_config *audio_cpu;
	const device_config *msm1;
	const device_config *msm2;
	const device_config *msm3;
	const device_config *msm4;
};


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

VIDEO_UPDATE( fantland );