Fix input redirection title index in the menu

This option is the third, not the fourth, and toggling it will override
the "save settings" option's title instead.
This commit is contained in:
Dan Elkouby 2017-08-06 23:51:52 +03:00
parent a4629e4b65
commit 62932a9639

View File

@ -255,7 +255,7 @@ void MiscellaneousMenu_InputRedirection(void)
if(res != 0) if(res != 0)
sprintf(buf, "Failed to stop InputRedirection (0x%08x).", (u32)res); sprintf(buf, "Failed to stop InputRedirection (0x%08x).", (u32)res);
else else
miscellaneousMenu.items[3].title = "Start InputRedirection"; miscellaneousMenu.items[2].title = "Start InputRedirection";
} }
else else
{ {
@ -311,7 +311,7 @@ void MiscellaneousMenu_InputRedirection(void)
if(res != 0) if(res != 0)
sprintf(buf, "Starting InputRedirection... failed (0x%08x).", (u32)res); sprintf(buf, "Starting InputRedirection... failed (0x%08x).", (u32)res);
else else
miscellaneousMenu.items[3].title = "Stop InputRedirection"; miscellaneousMenu.items[2].title = "Stop InputRedirection";
done = true; done = true;
} }