Add support for iterating directories in graphics pack content folders. (#1288)

This commit is contained in:
Skyth (Asilkan) 2024-08-13 16:53:04 +03:00 committed by GitHub
parent a6d8c0fb9f
commit c49296acdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 73 additions and 9 deletions

View file

@ -830,7 +830,7 @@ void GraphicPack2::_iterateReplacedFiles(const fs::path& currentPath, bool isAOC
{
virtualMountPath = fs::path("vol/content/") / virtualMountPath;
}
fscDeviceRedirect_add(virtualMountPath.generic_string(), it.path().generic_string(), m_fs_priority);
fscDeviceRedirect_add(virtualMountPath.generic_string(), it.file_size(), it.path().generic_string(), m_fs_priority);
}
}
}