diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-04-15 02:04:01 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-04-15 02:22:24 -0400 |
commit | 62abcecc54ac810dc082e5e822be4796a5064ece (patch) | |
tree | ea79fccbe0bc68db7ad69433a40b48ea71fd0d61 /src/option_menu.c | |
parent | c4ef45c161ef0d51478476a916010c619e94a732 (diff) |
More usage of DISPLAY constants
Diffstat (limited to 'src/option_menu.c')
-rw-r--r-- | src/option_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_menu.c b/src/option_menu.c index 936aff923..ec66e827a 100644 --- a/src/option_menu.c +++ b/src/option_menu.c @@ -381,7 +381,7 @@ static void Task_OptionMenuFadeOut(u8 taskId) static void HighlightOptionMenuItem(u8 index) { - SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(16, 224)); + SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(16, DISPLAY_WIDTH - 16)); SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(index * 16 + 40, index * 16 + 56)); } |