uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit f38ba34310fa04bc27642af20969c160bd609c84
parent 65678a7a363ee9297c56237055fb024629643a7b
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Tue, 21 Sep 2021 21:20:22 +0100

clang-format

Diffstat:
Msrc/devices/ppu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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