// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.

#pragma once

class CEXIAMBaseboard : public IEXIDevice
{
public:
	CEXIAMBaseboard();

	virtual void SetCS(int _iCS) override;
	virtual bool IsPresent() override;
	virtual bool IsInterruptSet() override;
	virtual void DoState(PointerWrap &p) override;

private:
	virtual void TransferByte(u8& _uByte) override;
	int m_position;
	bool m_have_irq;
	unsigned char m_command[4];
};
