diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2019-02-17 12:37:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 12:37:06 -0600 |
commit | 9c33214510c63fea9a8041011fd061219d9b61b0 (patch) | |
tree | ece40e9b5161287e03ba64318b9aed24d344dfea /src/pokemon_storage_system.c | |
parent | 19b76bffda07d8878c1ff1a9005e1b57c549ffce (diff) | |
parent | 22657c708753df14e84d4bdae4afac0072803447 (diff) |
Merge pull request #564 from garakmon/vram
use macros for VRAM offsets
Diffstat (limited to 'src/pokemon_storage_system.c')
-rw-r--r-- | src/pokemon_storage_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_storage_system.c b/src/pokemon_storage_system.c index c0aec4ddd..c1ebe91b4 100644 --- a/src/pokemon_storage_system.c +++ b/src/pokemon_storage_system.c @@ -3927,7 +3927,7 @@ static void SetScrollingBackground(void) { SetGpuReg(REG_OFFSET_BG3CNT, BGCNT_PRIORITY(3) | BGCNT_CHARBASE(3) | BGCNT_16COLOR | BGCNT_SCREENBASE(31)); DecompressAndLoadBgGfxUsingHeap(3, gPokemonStorageScrollingBGTileset, 0, 0, 0); - LZ77UnCompVram(gPokemonStorageScrollingBGTilemap, (void *)VRAM + 0xF800); + LZ77UnCompVram(gPokemonStorageScrollingBGTilemap, (void *)BG_SCREEN_ADDR(31)); } static void ScrollBackground(void) |