Commit f980e9a2 authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

Don't call filestream_vfs_init and dirent_vfs_init on bogus environment cb

Retroarch frontend calls with bogus callback to get system info and
it messess up vfs state. Don't call vfs init in this case. On old frontend
zero-state without init is perfectly fine
parent 2f94ed35
......@@ -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;
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