mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
This commit is contained in:
parent
4255e30722
commit
7bf4b45349
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue