Fix fd check

This commit is contained in:
David Guillen Fandos 2021-03-11 22:13:32 +01:00
parent 5127f4b5cc
commit 7db08a3fcf
1 changed files with 1 additions and 1 deletions

View File

@ -2362,7 +2362,7 @@ static s32 load_gamepak_raw(const char *name)
// First, close the last one if it was open, we won't
// be needing it anymore.
if(!gamepak_file_large)
if(gamepak_file_large)
fclose(gamepak_file_large);
// If it's a big file size keep it, don't close it, we'll