diff options
author | Ameer <aj662@drexel.edu> | 2020-06-23 00:11:59 +0200 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-06-23 00:11:59 +0200 |
commit | fcc23139f622963c86e7f53c8b96f6f214294032 (patch) | |
tree | 2b5bfcd86162b19a23c4c50e7fa8a794be44b3da /src/input_common/gcadapter/gc_adapter.h | |
parent | update libusb dependency (diff) | |
download | yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar.gz yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar.bz2 yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar.lz yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar.xz yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.tar.zst yuzu-fcc23139f622963c86e7f53c8b96f6f214294032.zip |
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.h')
-rw-r--r-- | src/input_common/gcadapter/gc_adapter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.h b/src/input_common/gcadapter/gc_adapter.h index d7a57e7b7..ff0202e3b 100644 --- a/src/input_common/gcadapter/gc_adapter.h +++ b/src/input_common/gcadapter/gc_adapter.h @@ -101,9 +101,9 @@ public: const std::array<GCState, 4>& GetPadState() const; private: - GCPadStatus CheckStatus(int port, u8 adapter_payload[37]); + GCPadStatus CheckStatus(int port, const std::array<u8, 37>& adapter_payload); - void PadToState(GCPadStatus pad, GCState& state); + void PadToState(const GCPadStatus& pad, GCState& state); void Read(); void ScanThreadFunc(); @@ -154,4 +154,4 @@ private: std::array<GCState, 4> state; }; -} // end of namespace GCAdapter +} // namespace GCAdapter |