mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- make file system directory printout optional.
This commit is contained in:
parent
6305714493
commit
4825d66e10
1 changed files with 8 additions and 5 deletions
|
@ -386,6 +386,8 @@ void InitFileSystem(TArray<GrpEntry>& groups)
|
||||||
todelete.Append(userConfig.toBeDeleted);
|
todelete.Append(userConfig.toBeDeleted);
|
||||||
fileSystem.InitMultipleFiles(Files, todelete, groups.Size());
|
fileSystem.InitMultipleFiles(Files, todelete, groups.Size());
|
||||||
|
|
||||||
|
if (Args->CheckParm("-dumpfs"))
|
||||||
|
{
|
||||||
FILE* f = fopen("filesystem.dir", "wb");
|
FILE* f = fopen("filesystem.dir", "wb");
|
||||||
for (int i = 0; i < fileSystem.GetNumEntries(); i++)
|
for (int i = 0; i < fileSystem.GetNumEntries(); i++)
|
||||||
{
|
{
|
||||||
|
@ -394,3 +396,4 @@ void InitFileSystem(TArray<GrpEntry>& groups)
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue