mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-13 21:27:06 +00:00
shut up compilation warnings
This commit is contained in:
parent
890a4a0d9b
commit
83e632fda2
4 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ void CheatManagerOverlay::drawBottom(void) const
|
|||
|
||||
void CheatManagerOverlay::update(InputState* touch)
|
||||
{
|
||||
(void)touch;
|
||||
if (hidKeysDown() & KEY_A) {
|
||||
std::string cellName = scrollable->cellName(scrollable->index());
|
||||
if (cellName.compare(0, MAGIC_LEN, SELECTED_MAGIC) == 0) {
|
||||
|
|
|
@ -63,6 +63,7 @@ void ErrorOverlay::drawBottom(void) const
|
|||
|
||||
void ErrorOverlay::update(InputState* touch)
|
||||
{
|
||||
(void)touch;
|
||||
if (button->released() || (hidKeysDown() & KEY_A) || (hidKeysDown() & KEY_B)) {
|
||||
screen.removeOverlay();
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@ void InfoOverlay::drawBottom(void) const
|
|||
|
||||
void InfoOverlay::update(InputState* touch)
|
||||
{
|
||||
(void)touch;
|
||||
if (button->released() || (hidKeysDown() & KEY_A) || (hidKeysDown() & KEY_B)) {
|
||||
screen.removeOverlay();
|
||||
}
|
||||
|
|
|
@ -74,6 +74,7 @@ void YesNoOverlay::drawBottom(void) const
|
|||
|
||||
void YesNoOverlay::update(InputState* touch)
|
||||
{
|
||||
(void)touch;
|
||||
hid.update(2);
|
||||
|
||||
hid.index(buttonYes->held() ? 0 : buttonNo->held() ? 1 : hid.index());
|
||||
|
|
Loading…
Reference in a new issue