mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
major menu unification, minor reorganization
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@639 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
1fb0dd88aa
commit
713c922402
25 changed files with 1640 additions and 507 deletions
14
platform/linux/plat.c
Normal file
14
platform/linux/plat.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <dirent.h>
|
||||
#include "../common/plat.h"
|
||||
|
||||
|
||||
int plat_is_dir(const char *path)
|
||||
{
|
||||
DIR *dir;
|
||||
if ((dir = opendir(path))) {
|
||||
closedir(dir);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue