예제 #1
0
//READ8_DEVICE_HANDLER( ym2610_r )
UINT8 ym2610_r(void *_info, offs_t offset)
{
	//ym2610_state *info = get_safe_token(device);
	ym2610_state* info = (ym2610_state *)_info;
	return ym2610_read(info->chip, offset & 3);
}
예제 #2
0
//READ8_DEVICE_HANDLER( ym2610_r )
UINT8 ym2610_r(UINT8 ChipID, offs_t offset)
{
    //ym2610_state *info = get_safe_token(device);
    ym2610_state* info = &YM2610Data[ChipID];
    return ym2610_read(info->chip, offset & 3);
}