SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 00f08bf3441019249df32b85701eada31a5f2ed4 parent 4c57a761517d3d11bb8d2ce31037b17d3a85b745 Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com> Date: Fri, 14 Nov 2025 20:32:59 +0200 Merge pull request #731 from AZero13/exit Close file when done readine Diffstat:
| M | Core/gb.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Core/gb.c b/Core/gb.c @@ -1092,7 +1092,7 @@ int GB_load_battery(GB_gameboy_t *gb, const char *path) /* We must reset RTC here, or it will not advance. */ goto reset_rtc; } - return 0; + goto exit; } if (gb->cartridge_type->mbc_type == GB_HUC3) { @@ -1111,7 +1111,7 @@ int GB_load_battery(GB_gameboy_t *gb, const char *path) /* We must reset RTC here, or it will not advance. */ goto reset_rtc; } - return 0; + goto exit; } rtc_save_t rtc_save;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.