mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-07-03 10:32:14 +02:00
parent
1aceda46f4
commit
8db4128b46
@ -33,6 +33,7 @@ typedef struct _stati64 os_stat64_t;
|
||||
|
||||
#define os_fopen _wfopen
|
||||
#define os_opendir _wopendir
|
||||
#define os_closedir _wclosedir
|
||||
#define os_readdir _wreaddir
|
||||
#define os_stat _wstati64
|
||||
#define os_fclose fclose
|
||||
@ -48,6 +49,7 @@ typedef struct stat os_stat64_t;
|
||||
|
||||
#define os_fopen fopen
|
||||
#define os_opendir opendir
|
||||
#define os_closedir closedir
|
||||
#define os_readdir readdir
|
||||
#define os_stat stat
|
||||
#define os_fclose fclose
|
||||
|
@ -271,6 +271,7 @@ void romfs_visit_dir(romfs_dirent_ctx_t *parent, romfs_ctx_t *romfs_ctx) {
|
||||
}
|
||||
}
|
||||
|
||||
os_closedir(dir);
|
||||
parent->child = child_dir_tree;
|
||||
parent->file = child_file_tree;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user