Unverified Commit 07c001fa authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #6 from phcoder/fileinit

Fix typo and overwriting of VFS functions
parents 2f94ed35 114e4066
Pipeline #94970 passed with stages
in 14 minutes and 19 seconds
......@@ -38,7 +38,7 @@ SOURCES_C := \
ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
$(CORE_DIR)/libretro-common/compat/compat_posix_string.c \
$(CORE_DIR)/libretro-common/compat/compat_snprintf.c
$(CORE_DIR)/libretro-common/compat/compat_snprintf.c \
$(CORE_DIR)/libretro-common/compat/compat_strl.c \
$(CORE_DIR)/libretro-common/compat/fopen_utf8.c \
$(CORE_DIR)/libretro-common/encodings/encoding_utf.c \
......
......@@ -352,9 +352,9 @@ void retro_set_environment(retro_environment_t cb)
vfs_interface_info.iface = NULL;
if(cb(RETRO_ENVIRONMENT_GET_VFS_INTERFACE, &vfs_interface_info)) {
vfs_interface = vfs_interface_info.iface;
dirent_vfs_init(&vfs_interface_info);
filestream_vfs_init(&vfs_interface_info);
}
dirent_vfs_init(&vfs_interface_info);
filestream_vfs_init(&vfs_interface_info);
}
static void update_variables(void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment