We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c57a76 + 2c01d64 commit 00f08bfCopy full SHA for 00f08bf
Core/gb.c
@@ -1092,7 +1092,7 @@ int GB_load_battery(GB_gameboy_t *gb, const char *path)
1092
/* We must reset RTC here, or it will not advance. */
1093
goto reset_rtc;
1094
}
1095
- return 0;
+ goto exit;
1096
1097
1098
if (gb->cartridge_type->mbc_type == GB_HUC3) {
@@ -1111,7 +1111,7 @@ int GB_load_battery(GB_gameboy_t *gb, const char *path)
1111
1112
1113
1114
1115
1116
1117
rtc_save_t rtc_save;
0 commit comments