Skip to content

Commit e794b9c

Browse files
author
龙虾机器人
committed
fix(vfs): guard VFS code on platforms without VFS support
Wrap entire VFS frontend implementation with #ifdef to prevent build failures on platforms like webOS and WiiU that lack VFS support.
1 parent c8b511d commit e794b9c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

menu/menu_vfs_browser.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#if defined(HAVE_VFS) && !defined(__wiiu__) && !defined(__WEBOS__)
2+
13
/* RetroArch - A frontend for libretro.
24
* Copyright (C) 2011-2026 - The RetroArch Team
35
*
@@ -404,3 +406,4 @@ enum vfs_scheme menu_vfs_browser_get_scheme(void)
404406
{
405407
return g_vfs_browser.scheme;
406408
}
409+
#endif /* HAVE_VFS && !WIIU && !WEBOS */

0 commit comments

Comments
 (0)