More usage of DISPLAY constants
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user