summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/GCAdapter_Null.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-08-01 21:16:00 -0400
committerLioncash <mathew1800@gmail.com>2016-08-01 21:27:51 -0400
commit041f4f5eeae70b0c0d66e100d6dcede01450bf45 (patch)
tree6aed18cddffa2a6b01b8cce7c09cec101f5c0b9f /Source/Core/InputCommon/GCAdapter_Null.cpp
parent2be2b2a4f1a19a21ba54e1cd9376e9c5975284bc (diff)
GCAdapter: Return input state by value
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter_Null.cpp')
-rw-r--r--Source/Core/InputCommon/GCAdapter_Null.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/GCAdapter_Null.cpp b/Source/Core/InputCommon/GCAdapter_Null.cpp
index bb9422807b..e5b30a312f 100644
--- a/Source/Core/InputCommon/GCAdapter_Null.cpp
+++ b/Source/Core/InputCommon/GCAdapter_Null.cpp
@@ -4,6 +4,7 @@
#include "InputCommon/GCAdapter.h"
#include "Common/CommonTypes.h"
+#include "InputCommon/GCPadStatus.h"
namespace GCAdapter
{
@@ -25,8 +26,9 @@ void StartScanThread()
void StopScanThread()
{
}
-void Input(int chan, GCPadStatus* pad)
+GCPadStatus Input(int chan)
{
+ return {};
}
void Output(int chan, u8 rumble_command)
{