diff options
| author | Lioncash <mathew1800@gmail.com> | 2022-12-05 18:14:31 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2022-12-05 18:15:23 -0500 |
| commit | 1c9f02790c4e9b066ce210d1ee9db5c962f657fc (patch) | |
| tree | 32df973c17157d2a8b2b65dbf9b241e734bae75d /src/core/hid/emulated_console.cpp | |
| parent | 53eb9406f014e108104cca842c5ee2f5b6ddb6f2 (diff) | |
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
| -rw-r--r-- | src/core/hid/emulated_console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index a896a5ad86..30c2e9d170 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<u32>(index); + touch_value.id = static_cast<int>(index); } touch_value.x = touch_input.x; |
