aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-28 02:31:17 -0400
committerNebuleon Fumika2013-03-28 02:31:17 -0400
commit13971bf9358642a5fad652b558d9be1c1391f2f9 (patch)
tree88d330e5e83221cad0448a66405be320ad4a93f9 /source
parent501fe385618f9b8791bdbc60e05bae0e418b5c7e (diff)
downloadsnesemu-13971bf9358642a5fad652b558d9be1c1391f2f9.tar.gz
snesemu-13971bf9358642a5fad652b558d9be1c1391f2f9.tar.bz2
snesemu-13971bf9358642a5fad652b558d9be1c1391f2f9.zip
Finish the back button uniformisation.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c2
1 files changed, 1 insertions, 1 deletions
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;