GB MBC: Remove unused SRAM size

This commit is contained in:
Vicki Pfau 2021-03-24 18:54:42 -07:00
parent 76ad5f1567
commit 2a7626f133
2 changed files with 1 additions and 3 deletions

View File

@ -124,6 +124,7 @@ Misc:
- GB Audio: Add channel 4 batching back (fixes mgba.io/i/1313) - GB Audio: Add channel 4 batching back (fixes mgba.io/i/1313)
- GB Core: Return the current number of banks for ROM/SRAM, not theoretical max - GB Core: Return the current number of banks for ROM/SRAM, not theoretical max
- GB I/O: Implement preliminary support for PCM12/PCM34 (closes mgba.io/i/1468) - GB I/O: Implement preliminary support for PCM12/PCM34 (closes mgba.io/i/1468)
- GB MBC: Remove unused SRAM size
- GBA: Allow pausing event loop while CPU is blocked - GBA: Allow pausing event loop while CPU is blocked
- GBA BIOS: Division by zero should emit a FATAL error - GBA BIOS: Division by zero should emit a FATAL error
- GBA Cheats: Allow unlimited ROM patch-type codes per set - GBA Cheats: Allow unlimited ROM patch-type codes per set

View File

@ -236,9 +236,6 @@ void GBMBCInit(struct GB* gb) {
case 0: case 0:
gb->sramSize = 0; gb->sramSize = 0;
break; break;
case 1:
gb->sramSize = 0x800;
break;
default: default:
case 2: case 2:
gb->sramSize = 0x2000; gb->sramSize = 0x2000;