Skip to content
Snippets Groups Projects
Commit c0d1a910 authored by Subv's avatar Subv
Browse files

EmuWindow: Fixed a reference to a temporary variable

 in GetTouchState()
parent ed5b275d
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ public:
* @return std::tuple of (x, y, pressed) where `x` and `y` are the touch coordinates and
* `pressed` is true if the touch screen is currently being pressed
*/
const std::tuple<u16, u16, bool>& GetTouchState() const {
const std::tuple<u16, u16, bool> GetTouchState() const {
return std::make_tuple(touch_x, touch_y, touch_pressed);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment