VERY experimental Nintendo Switch 2 emulator
C++
Update src/input_common/main.cpp
ameerj14bb56202868
diff --git a/externals/libusb b/externals/libusbindex c5085fc4eb..71c3083fdd 160000--- a/externals/libusb+++ b/externals/libusb@@ -1 +1 @@-Subproject commit c5085fc4eb1a83e6a8921a43b8d77f162b9e3b41+Subproject commit 71c3083fdd07a5a8c30a469800563bfbd9f9d4addiff --git a/src/input_common/main.cpp b/src/input_common/main.cppindex 827a1a30c1..a9572c23cf 100644--- a/src/input_common/main.cpp+++ b/src/input_common/main.cpp@@ -29,7 +29,7 @@ static std::shared_ptr<GCButtonFactory> gcbuttons;static std::shared_ptr<GCAnalogFactory> gcanalog;void Init() {- std::shared_ptr<GCAdapter::Adapter> gcadapter = std::make_shared<GCAdapter::Adapter>();+ auto gcadapter = std::make_shared<GCAdapter::Adapter>();gcbuttons = std::make_shared<GCButtonFactory>(gcadapter);Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons);gcanalog = std::make_shared<GCAnalogFactory>(gcadapter);