WOO BITMATH
This commit is contained in:
parent
4e6cd9d1f9
commit
2bc5aaf634
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ void cammy_photo_import(cammy_photo *dest, uint8_t *src, int stride) {
|
|||
value = from ^ 0x03;
|
||||
}
|
||||
|
||||
tile->data[2*tile_y] |= (value & 0x01) << (tile_x ^ 7);
|
||||
tile->data[2*tile_y+1] |= ((value & 0x02) >> 1) << (tile_x ^ 7);
|
||||
tile->data[ tile_y<<1] |= (value & 0x01) << (tile_x ^ 7);
|
||||
tile->data[(tile_y<<1)|1] |= ((value & 0x02) >> 1) << (tile_x ^ 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue