virtfs: Oops, correct Version check.
Must not have added after?
This commit is contained in:
parent
414be98489
commit
667ae002ca
1 changed files with 2 additions and 2 deletions
|
@ -855,8 +855,8 @@ VirtualDiscFileSystem::Handler::Handler(const char *filename, VirtualDiscFileSys
|
|||
Read = (ReadFunc)dlsym(library, "Read");
|
||||
Close = (CloseFunc)dlsym(library, "Close");
|
||||
|
||||
VersionFunc Version = VersionFunc();
|
||||
if (Version() >= 2) {
|
||||
VersionFunc Version = (VersionFunc)dlsym(library, "Version");
|
||||
if (Version && Version() >= 2) {
|
||||
ShutdownV2 = (ShutdownV2Func)Shutdown;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue