diff --git a/nx_main/main.c b/nx_main/main.c index b4b94b6..86e8b75 100644 --- a/nx_main/main.c +++ b/nx_main/main.c @@ -149,7 +149,7 @@ int main(int argc, char **argv) // Scan the gamepad. This should be done once for each frame padUpdate(&g_pad); padRepeaterUpdate(&g_pad_repeater, padGetButtons(&g_pad) & ( - HidNpadButton_AnyLeft | HidNpadButton_AnyUp | HidNpadButton_AnyRight | HidNpadButton_AnyDown + HidNpadButton_AnyLeft | HidNpadButton_AnyUp | HidNpadButton_AnyRight | HidNpadButton_AnyDown | HidNpadButton_ZL | HidNpadButton_ZR )); if (!error_screen) { @@ -249,8 +249,8 @@ bool menuUpdate(void) { if (down & HidNpadButton_AnyLeft) move--; if (down & HidNpadButton_AnyRight) move++; - if (down & HidNpadButton_AnyDown) move-=entries_count; - if (down & HidNpadButton_AnyUp) move+=entries_count; + if (down & (HidNpadButton_AnyDown | HidNpadButton_ZL)) move-=entries_count; + if (down & (HidNpadButton_AnyUp | HidNpadButton_ZR)) move+=entries_count; int newEntry = menu->curEntry + move; if (newEntry < 0) newEntry = 0;