diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-17 17:03:38 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-17 17:03:38 -0400 |
commit | cc460a17b0b99208592ca31de99f526fce2bf5ad (patch) | |
tree | fb9c860aa0a578e43e8ccf56c16fcef40101ee04 /home/sram.asm | |
parent | be93ab33a752fe0360c3b23dd4f33e1b0a05bf0e (diff) |
Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
Diffstat (limited to 'home/sram.asm')
-rw-r--r-- | home/sram.asm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/home/sram.asm b/home/sram.asm index 1b1a4f318..baf21bb32 100644 --- a/home/sram.asm +++ b/home/sram.asm @@ -1,11 +1,10 @@ -GetSRAMBank:: -; load sram bank a +OpenSRAM:: ; if invalid bank, sram is disabled cp NUM_SRAM_BANKS - jr c, OpenSRAM + jr c, .valid jr CloseSRAM -OpenSRAM:: +.valid: ; switch to sram bank a push af ; latch clock data |