Skip to content

Commit c5484e4

Browse files
FILL command problem with large arrays (z80) #1175
1 parent 00b5337 commit c5484e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ugbc/src/hw/z80/cpu_fill.asm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ CPUFILL16:
6262
CPUFILL16L1:
6363
LD DE, HL
6464
INC DE
65+
PUSH AF
6566
LD (HL), A
67+
POP AF
68+
DEC BC
6669
LDIR
6770
CPUFILL16Z0:
6871
POP AF

0 commit comments

Comments
 (0)