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:
53c905a
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:45:20 +0000
(
00:45
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:45:20 +0000
(
00:45
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 8eb42f3373b0d340fc433e792e4d4aa9750d05a7..8b72c58b0930933edf8e603b7f0d8d820012a45e 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-57,7
+57,7
@@
int main(void) {
//voice 3:
x = s / 3;
- t = n + ((i
>> 11
) % 3);
+ t = n + ((i
3<<13 | i2<<5 | i1>>3
) % 3);
LDI (o, 10)
RCALL g(i);
ADD (acc, t)