public static void dec0_custom_memory()
	{
		GAME=0;
		//i8751_timer=NULL;
	
		if (strcmp(Machine.gamedrv.name,"hbarrelw")==0) hbarrel_custom_memory();
		if (strcmp(Machine.gamedrv.name,"hbarrel")==0) hbarrelu_custom_memory();
		if (strcmp(Machine.gamedrv.name,"baddudes")==0) GAME=2;
		if (strcmp(Machine.gamedrv.name,"drgninja")==0)	GAME=2;
		if (strcmp(Machine.gamedrv.name,"birdtry")==0) 	GAME=3;
		if (strcmp(Machine.gamedrv.name,"robocop")==0) robocop_custom_memory();
		if (strcmp(Machine.gamedrv.name,"hippodrm")==0) hippodrm_custom_memory();
		if (strcmp(Machine.gamedrv.name,"ffantasy")==0) hippodrm_custom_memory();
	}