Forgot function to actually retrieve root folder pointer hehe

This commit is contained in:
Xiao Qi 2022-10-30 04:41:24 +08:00
parent ffc55c5e0c
commit 087cbcabaf
2 changed files with 8 additions and 1 deletions

View File

@ -343,6 +343,11 @@ namespace SHADE
return newAsset.id;
}
FolderPointer SHAssetManager::GetRootFolder() noexcept
{
return folderRoot;
}
bool SHAssetManager::IsRecognised(char const* ext) noexcept
{
for (auto const& e : EXTENSIONS)

View File

@ -89,6 +89,8 @@ namespace SHADE
static AssetID CompileAsset(AssetPath const& path) noexcept;
static FolderPointer GetRootFolder() noexcept;
private:
static void InitLoaders() noexcept;