aboutsummaryrefslogtreecommitdiff
path: root/utils.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-12-12 17:33:37 +0900
committerAstatin <[email protected]>2024-12-12 17:33:37 +0900
commitbfc32de4fd80c7bb51283840abf21d48151b5feb (patch)
treed38f2ca7acf89961f538a1ea7d65d279e42f81d2 /utils.gbasm
parente93a99e8e8565db0111b40d3286ce3d78f263559 (diff)
Fix copy dialogue buffer update outside of VBlank (+ add dbg for lcd status at the end of expected vblank thingy)
Diffstat (limited to 'utils.gbasm')
-rw-r--r--utils.gbasm8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils.gbasm b/utils.gbasm
index b32d3ea..5063f83 100644
--- a/utils.gbasm
+++ b/utils.gbasm
@@ -235,10 +235,10 @@ VBlank_Wait:
BIT 7, A
JR Z, =VBlank_Wait.End
VBlank_Wait.loop:
- LD A, $reg_lcd_status
- AND $03
- CP $01
- JR NZ, =VBlank_Wait.loop
+ LD A, $reg_lcd_status
+ AND $03
+ CP $01
+ JR NZ, =VBlank_Wait.loop
VBlank_Wait.End:
POP AF
RET