SI_DeviceGBA: Place implementations within the cpp file

Prevents potential recompilation of other files if these ever need to
change.
This commit is contained in:
Lioncash 2017-03-13 14:51:15 -04:00
parent 64aa7f3b8f
commit 14f261079f
2 changed files with 11 additions and 2 deletions

View File

@ -365,3 +365,12 @@ int CSIDevice_GBA::TransferInterval()
{
return GetTransferTime(send_data[0]);
}
bool CSIDevice_GBA::GetData(u32& hi, u32& low)
{
return false;
}
void CSIDevice_GBA::SendCommand(u32 command, u8 poll)
{
}

View File

@ -52,9 +52,9 @@ public:
int RunBuffer(u8* _pBuffer, int _iLength) override;
int TransferInterval() override;
bool GetData(u32& _Hi, u32& _Low) override;
void SendCommand(u32 _Cmd, u8 _Poll) override;
bool GetData(u32& _Hi, u32& _Low) override { return false; }
void SendCommand(u32 _Cmd, u8 _Poll) override {}
private:
std::array<u8, 5> send_data{};
int num_data_received = 0;