Skip to content

Commit

Permalink
Set 64K SRAM for MMC5 ROMs with unknown CRC.
Browse files Browse the repository at this point in the history
  • Loading branch information
punesemu committed Jan 12, 2019
1 parent 8828cd0 commit ac0ea48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/mappers/mapper_MMC5.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ void map_init_MMC5(void) {
prg_ram_mode = PRG_RAM_8K;
break;
case ELROM:
default:
info.prg.ram.banks_8k_plus = FALSE;
info.prg.ram.bat.banks = FALSE;
prg_ram_mode = PRG_RAM_NONE;
Expand All @@ -243,6 +242,11 @@ void map_init_MMC5(void) {
info.prg.ram.bat.banks = 4;
prg_ram_mode = PRG_RAM_32K;
break;
default:
info.prg.ram.banks_8k_plus = 8;
info.prg.ram.bat.banks = FALSE;
prg_ram_mode = PRG_RAM_64K;
break;
}
}
void map_init_NSF_MMC5(void) {
Expand Down

0 comments on commit ac0ea48

Please sign in to comment.