diff options
-rw-r--r-- | gba_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gba_memory.c b/gba_memory.c index 0c6a7bb..47359d0 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -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 |