summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-03-14 21:08:35 +0100
committerTony Wasserka <neobrainx@gmail.com>2015-03-14 21:08:35 +0100
commitfdd9fed47e797b1a74f38454320ee5aca9cfb81a (patch)
tree870f7cf85e088294388f63f544826c992d4583c0
parentMerge pull request #642 from bunnei/touchpad (diff)
parentEmuWindow: Fixed a reference to a temporary variable (diff)
downloadyuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar.gz
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar.bz2
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar.lz
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar.xz
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.tar.zst
yuzu-fdd9fed47e797b1a74f38454320ee5aca9cfb81a.zip
-rw-r--r--src/common/emu_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 2be7517bc..c8e2de04a 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -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);
}