Skip to content

Commit

Permalink
Libretro: Enable battery save ram support for MBC2 and MBC7
Browse files Browse the repository at this point in the history
  • Loading branch information
retro-wertz authored and rkitover committed Jul 24, 2018
1 parent a9ab09f commit 1289e08
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/libretro/libretro.cpp
Expand Up @@ -110,10 +110,9 @@ static bool gb_hasbattery(void)
case 0x1e: // MBC5
//incomplete, does not save gbTAMA5ram
case 0xfd: // TAMA5 + extended
return true;
// need to remap these
//case 0x06: // MBC2
//case 0x22: // MBC7
case 0x06: // MBC2
case 0x22: // MBC7
return true;
}
return false;
}
Expand Down

0 comments on commit 1289e08

Please sign in to comment.