From 13971bf9358642a5fad652b558d9be1c1391f2f9 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Thu, 28 Mar 2013 02:31:17 -0400 Subject: Finish the back button uniformisation. --- source/nds/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nds/gui.c b/source/nds/gui.c index 83b0eec..4564432 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -3918,7 +3918,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation) ds2_getrawInput(&inputdata); wait_Allkey_release(0); /* Back button at the top of every menu but the main one */ - if(current_menu != &main_menu && inputdata.x > 231 && inputdata.y <= 25) + if(current_menu != &main_menu && inputdata.x >= BACK_BUTTON_X && inputdata.y < BACK_BUTTON_Y + ICON_BACK.y) { choose_menu(current_menu->options->sub_menu); break; -- cgit v1.2.3