Skip to content

Commit

Permalink
Merge pull request #32 from RechieKho/master
Browse files Browse the repository at this point in the history
Mark `getRightAnalog` as `const`.
  • Loading branch information
SukkoPera authored May 14, 2024
2 parents 49d5b1c + 4d4a249 commit 334c3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PsxNewLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ class PsxController {
* [0-255, U to D]
* \return true if the returned position is valid, false otherwise
*/
boolean getRightAnalog (byte& x, byte& y) {
boolean getRightAnalog (byte& x, byte& y) const {
x = rx;
y = ry;

Expand Down

0 comments on commit 334c3f6

Please sign in to comment.