Higher quality dithering with a tiny tweak!
This commit is contained in:
parent
29c992358b
commit
eecac16509
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ static void image_copy(cammy_sram_frame *frame, uint8_t *buf) {
|
|||
int tile_x = x & 7,
|
||||
tile_y = y & 7;
|
||||
|
||||
tile->data[2*tile_y] |= ((value & 0x02) >> 1) << (7 - tile_x);
|
||||
tile->data[2*tile_y+1] |= (value & 0x01) << (7 - tile_x);
|
||||
tile->data[2*tile_y] |= (value & 0x01) << (7 - tile_x);
|
||||
tile->data[2*tile_y+1] |= ((value & 0x02) >> 1) << (7 - tile_x);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue