diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-31 16:41:44 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:26 +0100 |
commit | 730f07830247cfcdc551c253d30c6717fc16316c (patch) | |
tree | 9a0d7dbee51ad20e4a174c1be08816289a586d6a /src/core/hid/emulated_console.cpp | |
parent | kraken: Address comments from review (diff) | |
download | yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.gz yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.bz2 yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.lz yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.xz yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.zst yuzu-730f07830247cfcdc551c253d30c6717fc16316c.zip |
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
-rw-r--r-- | src/core/hid/emulated_console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index c259de0f1..012909954 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp @@ -166,9 +166,10 @@ void EmulatedConsole::SetTouch(Common::Input::CallbackStatus callback, return; } + // TODO(german77): Remap touch id in sequential order console.touch_state[index] = { .position = {console.touch_values[index].x.value, console.touch_values[index].y.value}, - .id = console.touch_values[index].id, + .id = static_cast<u32>(console.touch_values[index].id), .pressed = console.touch_values[index].pressed.value, }; |