mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
- do not abort if FScanner cannot open a file.
This commit is contained in:
parent
504d68e2f8
commit
aaedae6972
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue