aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2024-06-27 02:19:06 +0000
committerGitHub <noreply@github.com>2024-06-26 21:19:06 -0500
commit57bec62508c6ae3424977c9db55ad66fc1eb0a42 (patch)
treee7b3b81c68c901a6b2b1811c8a6e1c57b479dd44 /constants
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.tar.gz
pokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.tar.xz
pokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.zip
Improve documentation of some SRAM routines (#114)
Diffstat (limited to 'constants')
-rw-r--r--constants/hardware_constants.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/constants/hardware_constants.asm b/constants/hardware_constants.asm
index 6f6d2df8..dc06a05d 100644
--- a/constants/hardware_constants.asm
+++ b/constants/hardware_constants.asm
@@ -8,8 +8,9 @@ DEF MBC1RomBank EQU $2000
DEF MBC1SRamBank EQU $4000
DEF MBC1SRamBankingMode EQU $6000
-DEF SRAM_DISABLE EQU $00
-DEF SRAM_ENABLE EQU $0a
+DEF SRAM_DISABLE EQU $00
+DEF SRAM_BANKING_MODE EQU $01
+DEF SRAM_ENABLE EQU $0a
DEF NUM_SRAM_BANKS EQU 4