Skip to content

Commit 63ea3ca

Browse files
author
龙虾机器人
committed
fix(vfs): restore _impl suffix to match RetroArch API
1 parent 8f52840 commit 63ea3ca

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

menu/menu_vfs_browser.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ static void vfs_browser_read_dir(void)
108108
g_vfs_browser.dir = vfs_dir;
109109

110110
/* Read entries */
111-
while (retro_vfs_readdir(vfs_dir))
111+
while (retro_vfs_readdir_impl(vfs_dir))
112112
{
113-
name = retro_vfs_dirent_get_name(vfs_dir);
114-
is_dir = retro_vfs_dirent_is_dir(vfs_dir);
113+
name = retro_vfs_dirent_get_name_impl(vfs_dir);
114+
is_dir = retro_vfs_dirent_is_dir_impl(vfs_dir);
115115
size = 0;
116116

117117
if (!name)
@@ -153,14 +153,14 @@ static void vfs_browser_read_dir(void)
153153
{
154154
fill_pathname_join(full_path, g_vfs_browser.current_path, name,
155155
sizeof(full_path));
156-
size = retro_vfs_stat(full_path, NULL);
156+
size = retro_vfs_stat_impl(full_path, NULL);
157157
}
158158

159159
g_vfs_browser.entry_sizes[g_vfs_browser.entry_count] = size;
160160
g_vfs_browser.entry_count++;
161161
}
162162

163-
retro_vfs_closedir(vfs_dir);
163+
retro_vfs_closedir_impl(vfs_dir);
164164
g_vfs_browser.dir = NULL;
165165

166166
RARCH_LOG("[VFS Browser] Read %zu entries from %s\n",
@@ -316,7 +316,7 @@ bool menu_vfs_browser_operation(unsigned operation, const char *name, const char
316316

317317
case 2: /* Delete */
318318
RARCH_LOG("[VFS Browser] Delete: %s\n", full_path);
319-
if (retro_vfs_remove(full_path) == 0)
319+
if (retro_vfs_remove_impl(full_path) == 0)
320320
{
321321
vfs_browser_read_dir(); /* Refresh */
322322
return true;
@@ -329,7 +329,7 @@ bool menu_vfs_browser_operation(unsigned operation, const char *name, const char
329329
fill_pathname_join(new_path, g_vfs_browser.current_path, new_name,
330330
sizeof(new_path));
331331
RARCH_LOG("[VFS Browser] Rename: %s -> %s\n", full_path, new_path);
332-
if (retro_vfs_rename(full_path, new_path) == 0)
332+
if (retro_vfs_rename_impl(full_path, new_path) == 0)
333333
{
334334
vfs_browser_read_dir(); /* Refresh */
335335
return true;
@@ -338,7 +338,7 @@ bool menu_vfs_browser_operation(unsigned operation, const char *name, const char
338338

339339
case 4: /* Create directory */
340340
RARCH_LOG("[VFS Browser] Create directory: %s\n", full_path);
341-
if (retro_vfs_mkdir(full_path))
341+
if (retro_vfs_mkdir_impl(full_path))
342342
{
343343
vfs_browser_read_dir(); /* Refresh */
344344
return true;

0 commit comments

Comments
 (0)