diff options
| author | 2021-04-23 11:21:00 -0400 | |
|---|---|---|
| committer | 2021-04-23 11:21:02 -0400 | |
| commit | d363b2c7d2570200f9e55f498033e9c975619e93 (patch) | |
| tree | 2866252caefeb50fbc1105b512b3016dc62f8f32 /src/core/frontend/emu_window.h | |
| parent | emu_window: unsigned -> u32 (diff) | |
| download | yuzu-d363b2c7d2570200f9e55f498033e9c975619e93.tar.gz yuzu-d363b2c7d2570200f9e55f498033e9c975619e93.tar.xz yuzu-d363b2c7d2570200f9e55f498033e9c975619e93.zip | |
emu_window: Return pair from ClipToTouchScreen() instead of tuple
This is only a 2-tuple, so it can be converted over to the std::pair
class.
Diffstat (limited to 'src/core/frontend/emu_window.h')
| -rw-r--r-- | src/core/frontend/emu_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h index beb4d9027..076148698 100644 --- a/src/core/frontend/emu_window.h +++ b/src/core/frontend/emu_window.h | |||
| @@ -228,7 +228,7 @@ private: | |||
| 228 | /** | 228 | /** |
| 229 | * Clip the provided coordinates to be inside the touchscreen area. | 229 | * Clip the provided coordinates to be inside the touchscreen area. |
| 230 | */ | 230 | */ |
| 231 | std::tuple<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const; | 231 | std::pair<u32, u32> ClipToTouchScreen(u32 new_x, u32 new_y) const; |
| 232 | 232 | ||
| 233 | Layout::FramebufferLayout framebuffer_layout; ///< Current framebuffer layout | 233 | Layout::FramebufferLayout framebuffer_layout; ///< Current framebuffer layout |
| 234 | 234 | ||