diff options
| author | 2020-08-29 20:56:51 +0200 | |
|---|---|---|
| committer | 2020-08-29 20:56:51 +0200 | |
| commit | d176feffad824bce20b694432ade28fe8273c8e4 (patch) | |
| tree | a3c6f12346244a3757490327e3ff6e5bed09cbcb /src/input_common/main.cpp | |
| parent | yuzu: Add motion and touch configuration (diff) | |
| download | yuzu-d176feffad824bce20b694432ade28fe8273c8e4.tar.gz yuzu-d176feffad824bce20b694432ade28fe8273c8e4.tar.xz yuzu-d176feffad824bce20b694432ade28fe8273c8e4.zip | |
Address review comments and fix code compilation
Diffstat (limited to 'src/input_common/main.cpp')
| -rw-r--r-- | src/input_common/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index f9d7b408f..ea1a1cee6 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp | |||
| @@ -175,9 +175,11 @@ const GCButtonFactory* InputSubsystem::GetGCButtons() const { | |||
| 175 | return impl->gcbuttons.get(); | 175 | return impl->gcbuttons.get(); |
| 176 | } | 176 | } |
| 177 | 177 | ||
| 178 | void ReloadInputDevices() { | 178 | void InputSubsystem::ReloadInputDevices() { |
| 179 | if (udp) | 179 | if (!impl->udp) { |
| 180 | udp->ReloadUDPClient(); | 180 | return; |
| 181 | } | ||
| 182 | impl->udp->ReloadUDPClient(); | ||
| 181 | } | 183 | } |
| 182 | 184 | ||
| 183 | std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers( | 185 | std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers( |