mirror of
https://github.com/libretro/libretro-prboom.git
synced 2025-02-17 05:27:37 +00:00
Gets past the segfault at start
This commit is contained in:
parent
0dc50a1f4b
commit
6d4984681c
@ -1713,7 +1713,7 @@ char* I_FindFile(const char* wfname, const char* ext)
|
||||
{
|
||||
sprintf(prboom_system_dir, "%s%c%s", system_dir, DIR_SLASH, "prboom");
|
||||
p = FindFileInDir(prboom_system_dir, wfname, ext);
|
||||
free(prboom_system_dir);
|
||||
Z_Free(prboom_system_dir);
|
||||
if (!p)
|
||||
p = FindFileInDir(system_dir, wfname, ext);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user