mirror of https://github.com/mgba-emu/mgba.git
GB MBC: Remove unused SRAM size
This commit is contained in:
parent
76ad5f1567
commit
2a7626f133
1
CHANGES
1
CHANGES
|
@ -124,6 +124,7 @@ Misc:
|
|||
- 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 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 BIOS: Division by zero should emit a FATAL error
|
||||
- GBA Cheats: Allow unlimited ROM patch-type codes per set
|
||||
|
|
|
@ -236,9 +236,6 @@ void GBMBCInit(struct GB* gb) {
|
|||
case 0:
|
||||
gb->sramSize = 0;
|
||||
break;
|
||||
case 1:
|
||||
gb->sramSize = 0x800;
|
||||
break;
|
||||
default:
|
||||
case 2:
|
||||
gb->sramSize = 0x2000;
|
||||
|
|
Loading…
Reference in New Issue