Add partitioning

Also add sd mounting/unmounting
Also add vol+/- controls for sideways menus
This commit is contained in:
suchmememanyskill
2020-12-28 20:08:15 +01:00
parent baec43da2a
commit f1d433e69a
12 changed files with 225 additions and 15 deletions

View File

@@ -45,9 +45,9 @@ int MakeHorizontalMenu(MenuEntry_t *entries, int len, int spacesBetween, u32 bg)
return highlight;
else if (input->b)
return 0;
else if (input->left && highlight > 0)
else if ((input->left || input->down) && highlight > 0)
highlight--;
else if (input->right && highlight < len - 1)
else if ((input->right || input->up) && highlight < len - 1)
highlight++;
}
}