minor fixes

This commit is contained in:
h4570
2022-08-11 20:39:04 +02:00
parent 5316abce42
commit 74c642bd83
5 changed files with 15 additions and 12 deletions
+4 -4
View File
@@ -34,10 +34,10 @@ class Pad {
void init();
void update();
inline const PadButtons& getClicked() { return clicked; }
inline const PadButtons& getPressed() { return pressed; }
inline const PadJoy& getLeftJoyPad() { return leftJoyPad; }
inline const PadJoy& getRightJoyPad() { return rightJoyPad; }
inline const PadButtons& getClicked() const { return clicked; }
inline const PadButtons& getPressed() const { return pressed; }
inline const PadJoy& getLeftJoyPad() const { return leftJoyPad; }
inline const PadJoy& getRightJoyPad() const { return rightJoyPad; }
private:
char padBuf[256] alignas(sizeof(char) * 256);