mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
filesystem: VFileSystem009: just in case, always rewrite fs_api_t requested through CreateInterface export
This commit is contained in:
parent
bee35a1873
commit
2823a6d269
@ -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
|
static fs_api_t copy = { 0 }; // return a copy, to disallow overriding
|
||||||
|
|
||||||
if( !copy.InitStdio )
|
|
||||||
memcpy( ©, &g_api, sizeof( copy ));
|
memcpy( ©, &g_api, sizeof( copy ));
|
||||||
|
|
||||||
if( retval )
|
if( retval )
|
||||||
|
Loading…
Reference in New Issue
Block a user