Skip to content

Commit 14e443a

Browse files
committed
m6569.h: fix sprite unit expand flag regression
1 parent eb6d232 commit 14e443a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chips/m6569.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ static void _m6569_io_update_sunit(m6569_t* vic, size_t i, uint8_t mx, uint8_t m
533533
/* 1. The expansion flip flop is set as long as the bit in MxYE in register
534534
$d017 corresponding to the sprite is cleared.
535535
*/
536-
su->expand |= ~(mye & mask);
536+
su->expand |= ~mye & mask;
537537
}
538538

539539
// read chip registers

0 commit comments

Comments
 (0)