SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 71b485ccd0685eb67fdeee1826a4d47a1bcb8c50 parent 58035018aa4593abdf07a70148faae9836bf2590 Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 14 Nov 2025 22:49:15 +0200 Fix fd leak when opening ISX files Diffstat:
| M | Core/gb.c | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Core/gb.c b/Core/gb.c @@ -667,6 +667,7 @@ int GB_load_isx(GB_gameboy_t *gb, const char *path) done:; #undef READ if (gb->rom_size == 0) goto error; + fclose(f); size_t needed_size = (gb->rom_size + 0x3FFF) & ~0x3FFF; /* Round to bank */
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.