summaryrefslogtreecommitdiffstats
path: root/src/input_common/sdl
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-29 03:08:06 +0200
committerLioncash <mathew1800@gmail.com>2020-08-29 03:08:08 +0200
commitf3ac0883451ba4359a155c0d10992d675a63d9c9 (patch)
treec3c49a5fb82cc726b38193ac564f57f2c92934f8 /src/input_common/sdl
parentsdl_impl: Simplify make_tuple call (diff)
downloadyuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar.gz
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar.bz2
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar.lz
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar.xz
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.tar.zst
yuzu-f3ac0883451ba4359a155c0d10992d675a63d9c9.zip
Diffstat (limited to 'src/input_common/sdl')
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index cb2cdf96f..9d3d1803c 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -574,7 +574,7 @@ std::vector<Common::ParamPackage> SDLState::GetInputDevices() {
namespace {
Common::ParamPackage BuildAnalogParamPackageForButton(int port, std::string guid, u8 axis,
- float value = 0.1) {
+ float value = 0.1f) {
Common::ParamPackage params({{"engine", "sdl"}});
params.Set("port", port);
params.Set("guid", guid);