e1f527e2ab89 — Laurens Holst 7 years ago
Face: Early exit when span width is 0.
1 files changed, 1 insertions(+), 0 deletions(-)

M src/Face.asm
M src/Face.asm +1 -0
@@ 108,6 108,7 @@ HasX:
 	ld b,a
 	ld a,e
 	cp d
+	ret z
 	jr nc,NoSwap
 	ld e,d
 	ld d,a