- migrated to GZDoom's utility code.

This commit is contained in:
Christoph Oelckers 2020-04-11 23:50:43 +02:00
parent 2a9813eb5c
commit f671eb622f
168 changed files with 10543 additions and 737 deletions

View file

@ -48,6 +48,7 @@
#include "m_argv.h"
#include "filesystem/filesystem.h"
#include "filesystem/resourcefile.h"
#include "findfile.h"
static const char* res_exts[] = { ".grp", ".zip", ".pk3", ".pk4", ".7z", ".pk7" };
@ -342,10 +343,9 @@ static TArray<FileEntry> LoadCRCCache(void)
flentry.CRCValue = (unsigned)sc.BigNumber;
}
}
catch (std::runtime_error &err)
catch (CRecoverableError &)
{
// If there's a parsing error, return what we got and discard the rest.
debugprintf("%s\n", err.what());
}
return crclist;
}