summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2022-12-05 18:14:31 -0500
committerGravatar Lioncash2022-12-05 18:15:23 -0500
commit7bf4b453497ac445a94b295b1e4041e790e8f298 (patch)
tree32df973c17157d2a8b2b65dbf9b241e734bae75d
parentemulated_console: std::move() ParamPackages and callbacks where applicable (diff)
downloadyuzu-7bf4b453497ac445a94b295b1e4041e790e8f298.tar.gz
yuzu-7bf4b453497ac445a94b295b1e4041e790e8f298.tar.xz
yuzu-7bf4b453497ac445a94b295b1e4041e790e8f298.zip
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
-rw-r--r--src/core/hid/emulated_console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp
index a896a5ad8..30c2e9d17 100644
--- a/src/core/hid/emulated_console.cpp
+++ b/src/core/hid/emulated_console.cpp
@@ -199,7 +199,7 @@ void EmulatedConsole::SetTouch(const Common::Input::CallbackStatus& callback, st
199 199
200 if (is_new_input) { 200 if (is_new_input) {
201 touch_value.pressed.value = true; 201 touch_value.pressed.value = true;
202 touch_value.id = static_cast<u32>(index); 202 touch_value.id = static_cast<int>(index);
203 } 203 }
204 204
205 touch_value.x = touch_input.x; 205 touch_value.x = touch_input.x;