GB MBC: Remove unused SRAM size
Vicki Pfau vi@endrift.com
Wed, 24 Mar 2021 18:54:42 -0700
2 files changed,
1 insertions(+),
3 deletions(-)
M
CHANGES
→
CHANGES
@@ -124,6 +124,7 @@ - GB: Redo double speed emulation (closes mgba.io/i/1515)
- 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
M
src/gb/mbc.c
→
src/gb/mbc.c
@@ -236,9 +236,6 @@ switch (cart->ramSize) {
case 0: gb->sramSize = 0; break; - case 1: - gb->sramSize = 0x800; - break; default: case 2: gb->sramSize = 0x2000;