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:
80b19f3
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:17:00 +0000
(
01:17
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:17:00 +0000
(
01:17
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 1840698ebff70a963820f614c1130a776914277e..4fba1ef87044136699c4b98d92b86a19c3c2e944 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-91,7
+91,7
@@
int main(void) {
//voice 4:
x = s / 5;
//voice 4:
x = s / 5;
- t = 8 + n - ((
i3
<<14 | i2<<6 | i1>>2) % 3);
+ t = 8 + n - ((
(i3&0x01)
<<14 | i2<<6 | i1>>2) % 3);
LDI (o, 9)
RCALL g();
ADD (acc, t)
LDI (o, 9)
RCALL g();
ADD (acc, t)