Skip to content

Commit

Permalink
(Android) Some build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jul 13, 2015
1 parent 313f015 commit 89be56a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/drivers/platform_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,13 @@ static bool device_is_game_console(const char *name)

bool test_permissions(const char *path)
{
RARCH_LOG("Testing permissions for %s\n",path);
char buf[PATH_MAX_LENGTH];
bool ret;

RARCH_LOG("Testing permissions for %s\n",path);

fill_pathname_join(buf, path,
"ra-test", buf);
bool ret = path_mkdir(buf);
fill_pathname_join(buf, path, "ra-test", sizeof(buf));
ret = path_mkdir(buf);

RARCH_LOG("Create %s %s\n", buf, ret ? "true" : "false");

Expand Down

0 comments on commit 89be56a

Please sign in to comment.