Skip to content

Commit

Permalink
m6569.h: fix sprite unit expand flag regression
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jan 3, 2025
1 parent eb6d232 commit 14e443a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chips/m6569.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ static void _m6569_io_update_sunit(m6569_t* vic, size_t i, uint8_t mx, uint8_t m
/* 1. The expansion flip flop is set as long as the bit in MxYE in register
$d017 corresponding to the sprite is cleared.
*/
su->expand |= ~(mye & mask);
su->expand |= ~mye & mask;
}

// read chip registers
Expand Down

0 comments on commit 14e443a

Please sign in to comment.