git://git.gir.st
/
Chiptunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da675ce
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:11:00 +0000
(
00:11
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:11:00 +0000
(
00:11
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 7c9e0217efd2c3b61c996203e141e769caa5b93a..c9fed967da2096e26466f0e01c377a52131eb54a 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-6,7
+6,7
@@
int g(int i, u8 x, u8 t, u8 o) {
u8 xxx = (3 & i >> 16 ? "BY}6YB6%" : "Qj}6jQ6%")[t % 8];
SUBI (xxx, -51)
xxx = (i*xxx) >> o;
- xxx = xxx & x;
+ AND (xxx, x)
return ((3 & xxx));
};