Document player pc

This commit is contained in:
GriffinR
2021-04-25 12:07:08 -04:00
parent f823cd224f
commit 06b909bcd8
11 changed files with 711 additions and 706 deletions

View File

@@ -34,11 +34,11 @@ int GetStringWidthDifference(int fontId, const u8 *str, int totalWidth, int lett
return 0;
}
int GetMaxWidthInMenuTable(const struct MenuAction *str, int arg1)
int GetMaxWidthInMenuTable(const struct MenuAction *str, int numActions)
{
int i, var;
for (var = 0, i = 0; i < arg1; i++)
for (var = 0, i = 0; i < numActions; i++)
{
int stringWidth = GetStringWidth(1, str[i].text, 0);
if (stringWidth > var)