0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-16 11:15:06 +00:00

clang-format

This commit is contained in:
Andrew Alderwick 2021-09-21 21:20:22 +01:00
parent 65678a7a36
commit f38ba34310

View file

@ -45,7 +45,7 @@ ppu_pixel(Ppu *p, int fg, Uint16 x, Uint16 y, Uint8 color)
if(fg) shift += 2; if(fg) shift += 2;
p->dat[i] &= ~(3 << shift); p->dat[i] &= ~(3 << shift);
p->dat[i] |= color << shift; p->dat[i] |= color << shift;
if((v ^ p->dat[i]) != 0){ if((v ^ p->dat[i]) != 0) {
p->redraw = 1; p->redraw = 1;
p->i0 = p->i0 < i ? p->i0 : i; p->i0 = p->i0 < i ? p->i0 : i;
p->i1 = p->i1 > i ? p->i1 : i; p->i1 = p->i1 > i ? p->i1 : i;