diff options
Diffstat (limited to 'home/sram.asm')
-rw-r--r-- | home/sram.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/sram.asm b/home/sram.asm index 5089254..53798cd 100644 --- a/home/sram.asm +++ b/home/sram.asm @@ -2,7 +2,7 @@ INCLUDE "constants.asm" SECTION "home/sram.asm", ROM0 -OpenSRAM:: ; 32a7 +OpenSRAM:: push af ld a, 1 ld [MBC3LatchClock], a @@ -12,10 +12,10 @@ OpenSRAM:: ; 32a7 ld [MBC3SRamBank], a ret -CloseSRAM:: ; 32b7 +CloseSRAM:: push af ld a, SRAM_DISABLE ld [MBC3LatchClock], a ld [MBC3SRamEnable], a pop af - ret
\ No newline at end of file + ret |