Fix menu display bugs
This commit is contained in:
parent
0377cbd2b4
commit
91378ef3c1
@ -251,6 +251,8 @@ static void menuDraw(Menu *menu, u32 selected)
|
||||
Draw_DrawString(SCREEN_BOT_WIDTH - 10 - SPACING_X * n, 10, COLOR_WHITE, ipBuffer);
|
||||
}
|
||||
|
||||
Draw_DrawFormattedString(SCREEN_BOT_WIDTH - 10 - 4 * SPACING_X, SCREEN_BOT_HEIGHT - 20, COLOR_WHITE, " ");
|
||||
|
||||
if(batteryLevel != 255)
|
||||
Draw_DrawFormattedString(SCREEN_BOT_WIDTH - 10 - 4 * SPACING_X, SCREEN_BOT_HEIGHT - 20, COLOR_WHITE, "%02hhu%%", batteryLevel);
|
||||
else
|
||||
|
@ -255,7 +255,7 @@ void MiscellaneousMenu_InputRedirection(void)
|
||||
if(res != 0)
|
||||
sprintf(buf, "Failed to stop InputRedirection (0x%08x).", (u32)res);
|
||||
else
|
||||
miscellaneousMenu.items[2].title = "Start InputRedirection";
|
||||
miscellaneousMenu.items[3].title = "Start InputRedirection";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -311,7 +311,7 @@ void MiscellaneousMenu_InputRedirection(void)
|
||||
if(res != 0)
|
||||
sprintf(buf, "Starting InputRedirection... failed (0x%08x).", (u32)res);
|
||||
else
|
||||
miscellaneousMenu.items[2].title = "Stop InputRedirection";
|
||||
miscellaneousMenu.items[3].title = "Stop InputRedirection";
|
||||
|
||||
done = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user