Add missing FSAInit() call to fix directory merge with parents

This commit is contained in:
Maschell 2022-10-10 19:22:31 +02:00
parent e46cf2c765
commit ecd3cc03b2

View File

@ -222,6 +222,7 @@ FSWrapperMergeDirsWithParent::FSWrapperMergeDirsWithParent(const std::string &na
replaceWithPath,
fallbackOnError,
false) {
FSAInit();
this->clientHandle = FSAAddClient(nullptr);
if (clientHandle < 0) {
DEBUG_FUNCTION_LINE_ERR("[%s] FSAClientHandle failed: %s (%d)", name.c_str(), FSAGetStatusStr(static_cast<FSError>(clientHandle)), clientHandle);