summaryrefslogtreecommitdiff
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index b6b7bfd26..7c3486dea 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -105,7 +105,7 @@ public:
105 * @todo Fix this function to be thread-safe. 105 * @todo Fix this function to be thread-safe.
106 * @return PadState object indicating the current pad state 106 * @return PadState object indicating the current pad state
107 */ 107 */
108 const Service::HID::PadState GetPadState() const { 108 Service::HID::PadState GetPadState() const {
109 return pad_state; 109 return pad_state;
110 } 110 }
111 111
@@ -116,7 +116,7 @@ public:
116 * @return std::tuple of (x, y, pressed) where `x` and `y` are the touch coordinates and 116 * @return std::tuple of (x, y, pressed) where `x` and `y` are the touch coordinates and
117 * `pressed` is true if the touch screen is currently being pressed 117 * `pressed` is true if the touch screen is currently being pressed
118 */ 118 */
119 const std::tuple<u16, u16, bool> GetTouchState() const { 119 std::tuple<u16, u16, bool> GetTouchState() const {
120 return std::make_tuple(touch_x, touch_y, touch_pressed); 120 return std::make_tuple(touch_x, touch_y, touch_pressed);
121 } 121 }
122 122