Fix android argv.

This commit is contained in:
Cory McWilliams 2024-02-25 16:02:56 -05:00
parent ddce88dce6
commit 9aa0617aa1

View File

@ -662,11 +662,11 @@ int main(int argc, char* argv[])
{
if (strcmp(argv[1], "run") == 0)
{
result = _tf_command_run(argv[0], argc - 2, argv + 2);
result = _tf_command_run(argv[0], argc - 1, argv + 1);
}
else if (strcmp(argv[1], "sandbox") == 0)
{
result = _tf_command_sandbox(argv[0], argc - 2, argv + 2);
result = _tf_command_sandbox(argv[0], argc - 1, argv + 1);
}
}
tf_mem_shutdown();