Exemplo n.º 1
0
static int psg_read(void *param)
{
	ym2610_state *info = (ym2610_state *)param;
	if (info->psg != NULL)
	{
		switch(info->AY_EMU_CORE)
		{
#ifdef ENABLE_ALL_CORES
		case EC_MAME:
			return ay8910_read_ym(info->psg);
#endif
		case EC_EMU2149:
			return PSG_readIO((PSG*)info->psg);
		}
	}
	return 0x00;
}
Exemplo n.º 2
0
static int psg_read(void *param)
{
	struct ym2610_info *info = param;
	return ay8910_read_ym(info->psg);
}
Exemplo n.º 3
0
static int psg_read(void *param)
{
    ym2608_device *ym2608 = (ym2608_device *) param;
    return ay8910_read_ym(ym2608->_psg());
}
Exemplo n.º 4
0
static int psg_read(void *param)
{
	ym2610_state *info = (ym2610_state *)param;
	return ay8910_read_ym(info->psg);
}