this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Replace bool with u8 in bitfields

authored by

phcoder and committed by
Vladimir Serbinenko
4fccc8f0 e77f8c9d

+9 -9
+8 -8
include/tic80.h
··· 76 76 { 77 77 struct 78 78 { 79 - bool up:1; 80 - bool down:1; 81 - bool left:1; 82 - bool right:1; 83 - bool a:1; 84 - bool b:1; 85 - bool x:1; 86 - bool y:1; 79 + u8 up:1; 80 + u8 down:1; 81 + u8 left:1; 82 + u8 right:1; 83 + u8 a:1; 84 + u8 b:1; 85 + u8 x:1; 86 + u8 y:1; 87 87 }; 88 88 89 89 u8 data;
+1 -1
src/tic.h
··· 497 497 struct 498 498 { 499 499 u8 sprite:7; 500 - bool system:1; 500 + u8 system:1; 501 501 } cursor; 502 502 } vars; 503 503