shithub: pokecrystal

Download patch

ref: 0a1b6b4f15da58f47b7a6fcf3b650b8e5c3a7b53
parent: 84a3b335aa119c536be8186a6c1b91a31a7963c1
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Fri Jun 17 18:38:13 EDT 2022

Align wLYOverrides and wLYOverridesBackup

Fixes #934

--- a/wram.asm
+++ b/wram.asm
@@ -3474,7 +3474,6 @@
 
 
 SECTION "GBC Video", WRAMX, ALIGN[8]
-; LCD expects wLYOverrides to have an alignment of $100
 
 ; eight 4-color palettes each
 wGBCPalettes:: ; used only for BANK(wGBCPalettes)
@@ -3483,6 +3482,7 @@
 wBGPals2:: ds 8 palettes
 wOBPals2:: ds 8 palettes
 
+	align 8
 wLYOverrides:: ds SCREEN_HEIGHT_PX
 wLYOverridesEnd::
 
@@ -3497,6 +3497,7 @@
 
 	ds 106
 
+	align 8
 wLYOverridesBackup:: ds SCREEN_HEIGHT_PX
 wLYOverridesBackupEnd::