diff options
author | David Guillen Fandos | 2021-03-11 22:13:32 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-11 22:13:32 +0100 |
commit | 7db08a3fcfc126553690a2ba8339ebecd5f35ff1 (patch) | |
tree | 52d1e9dba94211a60f0f5a72ee5f82a293bc437c | |
parent | 5127f4b5ccb723f7572b9edc509cf78366153e25 (diff) | |
download | picogpsp-7db08a3fcfc126553690a2ba8339ebecd5f35ff1.tar.gz picogpsp-7db08a3fcfc126553690a2ba8339ebecd5f35ff1.tar.bz2 picogpsp-7db08a3fcfc126553690a2ba8339ebecd5f35ff1.zip |
Fix fd check
-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 |