uxn

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

commit e21a0ed885e4cb84654a5124e7e89219f9686b5f
parent 5a20eb69b0ad09e763c0183dd830e2bc1740875f
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Wed,  3 Nov 2021 23:05:47 +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 @@ -54,7 +54,7 @@ ppu_write(Ppu *p, Uint8 layer, Uint16 x, Uint16 y, Uint8 color) Uint8 pix = p->pixels[row]; Uint8 mask = ~(0x3 << shift); Uint8 pixnew = (pix & mask) + (color << shift); - if(pix != pixnew){ + if(pix != pixnew) { p->pixels[row] = pixnew; p->reqdraw = 1; }