more fixes towards MBC7

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@580 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
squall-leonhart 2008-06-26 13:49:19 +00:00
parent 4b1e66a7bb
commit 4d5c7defd1
1 changed files with 2 additions and 0 deletions

View File

@ -3313,12 +3313,14 @@ bool gbReadBatteryFile(const char *file)
case 0x13:
case 0xfc:
res = gbReadSaveMBC3(file);
break;
case 0x1b:
case 0x1e:
res = gbReadSaveMBC5(file);
break;
case 0x22:
res = gbReadSaveMBC7(file);
break;
case 0xfd:
if(!gbReadSaveTAMA5(file)) {
u8 gbDaysinMonth [12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};