Skip to content

Commit c8b511d

Browse files
author
龙虾机器人
committed
fix(vfs): use correct function names for file_remove and file_rename
1 parent 63ea3ca commit c8b511d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

menu/menu_vfs_browser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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_impl(full_path) == 0)
319+
if (retro_vfs_file_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_impl(full_path, new_path) == 0)
332+
if (retro_vfs_file_rename_impl(full_path, new_path) == 0)
333333
{
334334
vfs_browser_read_dir(); /* Refresh */
335335
return true;

0 commit comments

Comments
 (0)