summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-12 21:41:32 +0200
committerLioncash <mathew1800@gmail.com>2020-07-12 21:41:35 +0200
commit839c91cd14d65d0d62a946078aa62657530fd55a (patch)
tree97d4c63c1e6e056663380725d89484f3374a07ff /src/input_common
parentgc_poller: Silence sign conversion warnings (diff)
downloadyuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar.gz
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar.bz2
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar.lz
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar.xz
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.tar.zst
yuzu-839c91cd14d65d0d62a946078aa62657530fd55a.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/gcadapter/gc_poller.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp
index ead1a1b0e..d9296c496 100644
--- a/src/input_common/gcadapter/gc_poller.cpp
+++ b/src/input_common/gcadapter/gc_poller.cpp
@@ -6,6 +6,7 @@
#include <list>
#include <mutex>
#include <utility>
+#include "common/assert.h"
#include "common/threadsafe_queue.h"
#include "input_common/gcadapter/gc_adapter.h"
#include "input_common/gcadapter/gc_poller.h"
@@ -94,6 +95,9 @@ std::unique_ptr<Input::ButtonDevice> GCButtonFactory::Create(const Common::Param
return std::make_unique<GCAxisButton>(port, axis, threshold, trigger_if_greater,
adapter.get());
}
+
+ UNREACHABLE();
+ return nullptr;
}
Common::ParamPackage GCButtonFactory::GetNextInput() {