Browse Source

filesystem: VFileSystem009: just in case, always rewrite fs_api_t requested through CreateInterface export

pull/2/head
Alibek Omarov 1 year ago
parent
commit
2823a6d269
  1. 1
      filesystem/VFileSystem009.cpp

1
filesystem/VFileSystem009.cpp

@ -517,7 +517,6 @@ extern "C" void EXPORT *CreateInterface( const char *interface, int *retval ) @@ -517,7 +517,6 @@ extern "C" void EXPORT *CreateInterface( const char *interface, int *retval )
{
static fs_api_t copy = { 0 }; // return a copy, to disallow overriding
if( !copy.InitStdio )
memcpy( &copy, &g_api, sizeof( copy ));
if( retval )

Loading…
Cancel
Save