Backport review comments from yuzu-emu/yuzu#4382: "yuzu: Add motion and touch configuration from Citra" (#5543)

This commit is contained in:
Tobias
2022-11-04 20:25:50 +01:00
committed by GitHub
parent a93d7a8d3a
commit 14924e9db3
9 changed files with 127 additions and 108 deletions

View File

@ -118,8 +118,10 @@ Common::ParamPackage GetControllerAnalogBinds(const Common::ParamPackage& params
}
void ReloadInputDevices() {
if (udp)
udp->ReloadUDPClient();
if (!udp) {
return;
}
udp->ReloadUDPClient();
}
namespace Polling {