Quit out instead of infinite looping if the Packaged dir can't be found

This commit is contained in:
elasota
2024-08-07 01:00:39 -04:00
parent c5addb5ed4
commit 64d61aac33

View File

@@ -206,7 +206,11 @@ bool GpFileSystem_Win32::Init()
break; break;
} }
else else
{
if (currentPathLength == 0)
break;
currentPathLength--; currentPathLength--;
}
} }
if (currentPathLength == 0) if (currentPathLength == 0)