mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
add lstat to fs_dev and romfs_dev
This commit is contained in:
parent
17ebe4104a
commit
573e2f772c
@ -90,6 +90,8 @@ fsdev_devoptab =
|
||||
.chmod_r = fsdev_chmod,
|
||||
.fchmod_r = fsdev_fchmod,
|
||||
.rmdir_r = fsdev_rmdir,
|
||||
// symlinks aren't supported so alias lstat to stat
|
||||
.lstat_r = fsdev_stat,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
@ -168,6 +168,8 @@ static const devoptab_t romFS_devoptab =
|
||||
.dirreset_r = romfs_dirreset,
|
||||
.dirnext_r = romfs_dirnext,
|
||||
.dirclose_r = romfs_dirclose,
|
||||
// symlinks aren't supported so alias lstat to stat
|
||||
.lstat_r = romfs_stat,
|
||||
};
|
||||
|
||||
static bool romfs_initialised = false;
|
||||
|
Loading…
Reference in New Issue
Block a user