Skip to content

Commit 334c3f6

Browse files
authored
Merge pull request #32 from RechieKho/master
Mark `getRightAnalog` as `const`.
2 parents 49d5b1c + 4d4a249 commit 334c3f6

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)