From f5d2a1e8bdb334a0354689a8da471b7f7525e61f Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Mon, 22 Jun 2020 10:40:27 -0400 Subject: [PATCH] Update src/input_common/main.cpp Co-authored-by: LC update libusb submodule (hopefully windows build error fixed) --- externals/libusb | 2 +- src/input_common/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/libusb b/externals/libusb index c5085fc4eb..71c3083fdd 160000 --- a/externals/libusb +++ b/externals/libusb @@ -1 +1 @@ -Subproject commit c5085fc4eb1a83e6a8921a43b8d77f162b9e3b41 +Subproject commit 71c3083fdd07a5a8c30a469800563bfbd9f9d4ad diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 827a1a30c1..a9572c23cf 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -29,7 +29,7 @@ static std::shared_ptr gcbuttons; static std::shared_ptr gcanalog; void Init() { - std::shared_ptr gcadapter = std::make_shared(); + auto gcadapter = std::make_shared(); gcbuttons = std::make_shared(gcadapter); Input::RegisterFactory("gcpad", gcbuttons); gcanalog = std::make_shared(gcadapter);