summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/GCAdapter_Null.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-08-02 07:32:26 +0200
committerGitHub <noreply@github.com>2016-08-02 07:32:26 +0200
commitfacf02686a542e7250fb01f97a4e6159a8aae41d (patch)
tree6aed18cddffa2a6b01b8cce7c09cec101f5c0b9f /Source/Core/InputCommon/GCAdapter_Null.cpp
parent84c936cab86bd43de52b5523752b74c3ff05ca8f (diff)
parent041f4f5eeae70b0c0d66e100d6dcede01450bf45 (diff)
Merge pull request #4079 from lioncash/state
HW: Make GC input retrieval functions return 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)
{