summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/GCAdapter.h
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.h
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.h')
-rw-r--r--Source/Core/InputCommon/GCAdapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/GCAdapter.h b/Source/Core/InputCommon/GCAdapter.h
index 355f24d1f3..179b27793c 100644
--- a/Source/Core/InputCommon/GCAdapter.h
+++ b/Source/Core/InputCommon/GCAdapter.h
@@ -24,7 +24,7 @@ void Shutdown();
void SetAdapterCallback(std::function<void(void)> func);
void StartScanThread();
void StopScanThread();
-void Input(int chan, GCPadStatus* pad);
+GCPadStatus Input(int chan);
void Output(int chan, u8 rumble_command);
bool IsDetected();
bool IsDriverDetected();