Skip to content

Commit

Permalink
Default bit tables seem more intuitive to edit as byte + bit, rather …
Browse files Browse the repository at this point in the history
…than just bit.
  • Loading branch information
bbbradsmith committed Oct 13, 2024
1 parent d7c4589 commit efea6eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BinxelviewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public void empty()
bit_stride_bit = new int[MAX_BPP];
for (int i = 0; i < MAX_BPP; ++i)
{
bit_stride_byte[i] = 0;
bit_stride_bit[i] = i;
bit_stride_byte[i] = i / 8;
bit_stride_bit[i] = i % 8;
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Changes
-------

1.6.2.0 (unreleased beta)
- No changes yet.
- Use byte/bit for default chunky table instead of just bit.

1.6.1.0 (2024-10-13)
- Option persistence, INI file save and load.
Expand Down

0 comments on commit efea6eb

Please sign in to comment.