Skip to content

Commit 4d4a249

Browse files
committed
Mark getRightAnalog as const.
1 parent 49d5b1c commit 4d4a249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PsxNewLib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ class PsxController {
11831183
* [0-255, U to D]
11841184
* \return true if the returned position is valid, false otherwise
11851185
*/
1186-
boolean getRightAnalog (byte& x, byte& y) {
1186+
boolean getRightAnalog (byte& x, byte& y) const {
11871187
x = rx;
11881188
y = ry;
11891189

0 commit comments

Comments
 (0)