diff options
| author | 2019-02-27 08:54:40 -0500 | |
|---|---|---|
| committer | 2019-02-27 08:54:42 -0500 | |
| commit | 46b3209abb271289d28e2ca7dfc8e2a9ed7d4afa (patch) | |
| tree | 93541f8d13c43c641fe802c53ae8d4d8787cd51c /src/core/frontend/emu_window.h | |
| parent | Merge pull request #2164 from ReinUsesLisp/configure-blit (diff) | |
| download | yuzu-46b3209abb271289d28e2ca7dfc8e2a9ed7d4afa.tar.gz yuzu-46b3209abb271289d28e2ca7dfc8e2a9ed7d4afa.tar.xz yuzu-46b3209abb271289d28e2ca7dfc8e2a9ed7d4afa.zip | |
core/frontend/emu_window: Make ClipToTouchScreen a const member function
This member function doesn't modify instance state, so it can have the
const specifier applied to it.
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 7006a37b3..d0bcb4660 100644 --- a/src/core/frontend/emu_window.h +++ b/src/core/frontend/emu_window.h | |||
| @@ -166,7 +166,7 @@ private: | |||
| 166 | /** | 166 | /** |
| 167 | * Clip the provided coordinates to be inside the touchscreen area. | 167 | * Clip the provided coordinates to be inside the touchscreen area. |
| 168 | */ | 168 | */ |
| 169 | std::tuple<unsigned, unsigned> ClipToTouchScreen(unsigned new_x, unsigned new_y); | 169 | std::tuple<unsigned, unsigned> ClipToTouchScreen(unsigned new_x, unsigned new_y) const; |
| 170 | }; | 170 | }; |
| 171 | 171 | ||
| 172 | } // namespace Core::Frontend | 172 | } // namespace Core::Frontend |