From 14f261079f611c3c4aa1e28ef4290c353c487467 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Mar 2017 14:51:15 -0400 Subject: [PATCH] SI_DeviceGBA: Place implementations within the cpp file Prevents potential recompilation of other files if these ever need to change. --- Source/Core/Core/HW/SI/SI_DeviceGBA.cpp | 9 +++++++++ Source/Core/Core/HW/SI/SI_DeviceGBA.h | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp b/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp index ae3c385ca5..7009becbc6 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp +++ b/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp @@ -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) +{ +} diff --git a/Source/Core/Core/HW/SI/SI_DeviceGBA.h b/Source/Core/Core/HW/SI/SI_DeviceGBA.h index c96193d98e..73ea2418f7 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceGBA.h +++ b/Source/Core/Core/HW/SI/SI_DeviceGBA.h @@ -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 send_data{}; int num_data_received = 0;