From 7bf4b453497ac445a94b295b1e4041e790e8f298 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 5 Dec 2022 18:14:31 -0500 Subject: [PATCH] emulated_console: Amend cast in SetTouch() id is an int value, not a u32. --- src/core/hid/emulated_console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 if (is_new_input) { touch_value.pressed.value = true; - touch_value.id = static_cast(index); + touch_value.id = static_cast(index); } touch_value.x = touch_input.x;