- {
- MMC5ROMWrProtect[0]=MMC5ROMWrProtect[1]=1;
- setprg16(0x8000,(PRGBanks[1]>>1));
- MMC5MemIn[1]=MMC5MemIn[2]=1;
- }
- else
- {
- MMC5ROMWrProtect[0]=MMC5ROMWrProtect[1]=0;
- MMC5WRAM(0x8000,PRGBanks[1]&7&0xFE);
- MMC5WRAM(0xA000,(PRGBanks[1]&7&0xFE)+1);
- }
- MMC5MemIn[3]=MMC5MemIn[4]=1;
- MMC5ROMWrProtect[2]=MMC5ROMWrProtect[3]=1;
- setprg16(0xC000,(PRGBanks[3]&0x7F)>>1);
- break;
+ {
+ MMC5ROMWrProtect[0]=MMC5ROMWrProtect[1]=1;
+ setprg16(0x8000,(PRGBanks[1]>>1));
+ MMC5MemIn[1]=MMC5MemIn[2]=1;
+ }
+ else
+ {
+ MMC5ROMWrProtect[0]=MMC5ROMWrProtect[1]=0;
+ MMC5WRAM(0x8000,PRGBanks[1]&7&0xFE);
+ MMC5WRAM(0xA000,(PRGBanks[1]&7&0xFE)+1);
+ }
+ MMC5MemIn[3]=MMC5MemIn[4]=1;
+ MMC5ROMWrProtect[2]=MMC5ROMWrProtect[3]=1;
+ setprg16(0xC000,(PRGBanks[3]&0x7F)>>1);
+ break;