From aaedae697203ccb11b2e5c77492bb76b3ef51007 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Feb 2018 14:10:25 +0100 Subject: [PATCH] - do not abort if FScanner cannot open a file. --- src/sc_man.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sc_man.cpp b/src/sc_man.cpp index 277604d68..b78b7a305 100644 --- a/src/sc_man.cpp +++ b/src/sc_man.cpp @@ -248,7 +248,7 @@ bool FScanner::OpenFile (const char *name) { Close (); - FileReader fr(name); + FileReader fr; if (!fr.Open(name)) return false; auto filesize = fr.GetLength(); auto filebuf = new uint8_t[filesize];