summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-12 21:40:22 +0200
committerLioncash <mathew1800@gmail.com>2020-07-12 21:40:22 +0200
commita8ba6dc3c9f876835d706d90b27249e2984d526e (patch)
treef3666e59257e643af2ef7d5b0d4df601409a69a6 /src
parentgc_adapter: Remove deprecated usage of = in lambda captures (diff)
downloadyuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.gz
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.bz2
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.lz
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.xz
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.tar.zst
yuzu-a8ba6dc3c9f876835d706d90b27249e2984d526e.zip
Diffstat (limited to 'src')
-rw-r--r--src/input_common/gcadapter/gc_poller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp
index 385ce8430..ead1a1b0e 100644
--- a/src/input_common/gcadapter/gc_poller.cpp
+++ b/src/input_common/gcadapter/gc_poller.cpp
@@ -249,7 +249,7 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() {
const u8 axis = static_cast<u8>(pad.axis);
if (analog_x_axis == -1) {
analog_x_axis = axis;
- controller_number = port;
+ controller_number = static_cast<int>(port);
} else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) {
analog_y_axis = axis;
}