Skip to content

Commit 03a2766

Browse files
committed
fixed testing of bool in ti_SetArchiveStatus
1 parent fea6317 commit 03a2766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fileioc/fileioc.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ ti_SetArchiveStatus:
455455
xor a, a
456456
ld (de), a
457457
pop af
458-
or a, a
458+
bit 0, a ; bit 0, (sp + 3)
459459
jr z, .set_unarchived
460460
.set_archived:
461461
call util_archive

0 commit comments

Comments
 (0)