Code: Select all
static int wii_access (const char *pathname, int mode)
{
struct stat st;
if (stat(pathname, &st) < 0)
return -1;
return 0; //With Wii the file/dir is considered always accessible if it exists
}
#define access wii_access
Code: Select all
static int wii_access (const char *pathname, int mode)
{
struct stat st;
if (stat(pathname, &st) < 0)
return -1;
return 0; //With Wii the file/dir is considered always accessible if it exists
}
#define access wii_access