all repos — mgba @ 2a7626f1336048e4ad25c2af3b1f2118d97b4fe8

mGBA Game Boy Advance Emulator

GB MBC: Remove unused SRAM size
Vicki Pfau vi@endrift.com
Wed, 24 Mar 2021 18:54:42 -0700
commit

2a7626f1336048e4ad25c2af3b1f2118d97b4fe8

parent

76ad5f1567807074348fc74dfe902a2cbc995038

2 files changed, 1 insertions(+), 3 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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;