diff --git a/src/fix/main.c b/src/fix/main.c index ab009db5..b323dd3d 100644 --- a/src/fix/main.c +++ b/src/fix/main.c @@ -494,7 +494,9 @@ do { \ case MBC3: // Handle timer, which also requires battery - if (features & (TIMER & BATTERY)) { + if (features & TIMER) { + if (!(features & BATTERY)) + fprintf(stderr, "warning: MBC3+TIMER implies BATTERY\n"); features &= ~(TIMER | BATTERY); // Reset those bits mbc = MBC3_TIMER_BATTERY; // RAM is handled below