- do not abort if FScanner cannot open a file.

This commit is contained in:
Christoph Oelckers 2018-02-22 14:10:25 +01:00
parent 504d68e2f8
commit aaedae6972

View file

@ -248,7 +248,7 @@ bool FScanner::OpenFile (const char *name)
{ {
Close (); Close ();
FileReader fr(name); FileReader fr;
if (!fr.Open(name)) return false; if (!fr.Open(name)) return false;
auto filesize = fr.GetLength(); auto filesize = fr.GetLength();
auto filebuf = new uint8_t[filesize]; auto filebuf = new uint8_t[filesize];