Add more debug messages

This commit is contained in:
EnderIce2 2024-08-13 07:30:29 +03:00
parent b783e8b88f
commit e2e9cfe84d
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,7 @@ namespace vfs
FileNode *Virtual::CacheLookup(const char *Path)
{
debug("Cache lookup for \"%s\"", Path);
FileNode *rootNode = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0);
FileNode *ret = CacheRecursiveSearch(rootNode, Path, false);

View File

@ -115,6 +115,7 @@ namespace vfs
FileNode *Virtual::GetByPath(const char *Path, FileNode *Parent)
{
debug("GetByPath: %s", Path);
if (Parent == nullptr)
Parent = thisProcess ? thisProcess->Info.RootNode : this->GetRoot(0);