From 52010f22e0897fcc14dcaf7f859be6846a804b00 Mon Sep 17 00:00:00 2001 From: Randy Thiemann Date: Sun, 12 Nov 2023 14:18:09 +0100 Subject: [PATCH] Fix .pocket in dmg mode. --- bin/DMGTRIS.pocket | Bin 131072 -> 131072 bytes src/field.asm | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/DMGTRIS.pocket b/bin/DMGTRIS.pocket index c6c5f43a5a67c8cc5ea72d404cfa58aee63509da..08aaf49a62b12757b7f6bcfced7a21261a10c82c 100644 GIT binary patch delta 227 zcmZo@;Am*z*x<*=wBYyV07h2<)&u_zDEyebF+gK-f{+poc=DTf3!i7Cfx)Pbm2ci4 LzI}r@W55dlvoU8j delta 227 zcmZo@;Am*z*x<*=)Z@Q7fYDWemH8jD!jH)t12iTl2r1EkC%<{O@OefW7>w#z`Q{Dc L+c$_a2D|_O(V0=o diff --git a/src/field.asm b/src/field.asm index bcd114e..323b9c9 100644 --- a/src/field.asm +++ b/src/field.asm @@ -103,8 +103,8 @@ BlitField:: REPT 7 ; Wait until start of drawing, then insert nops. : ldh a, [rSTAT] - and a, 3 - cp a, 3 + and a, STATF_LCD + cp a, STATF_LCD jr nz, :- REPT 40 nop @@ -160,8 +160,8 @@ BigBlitField:: REPT 7 ; Wait until start of drawing, then insert nops. : ldh a, [rSTAT] - and a, 3 - cp a, 3 + and a, STATF_LCD + cp a, STATF_LCD jr nz, :- REPT 40 nop