mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Fixed a sign error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4448 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
787f069738
commit
bafd7a7279
@ -71,7 +71,7 @@ void __fastcall__ tgi_arc (int x, int y, unsigned char rx, unsigned char ry,
|
|||||||
|
|
||||||
/* Calculate the start coords */
|
/* Calculate the start coords */
|
||||||
x1 = x + tgi_imulround (rx, cc65_cos (sa));
|
x1 = x + tgi_imulround (rx, cc65_cos (sa));
|
||||||
y1 = y + tgi_imulround (ry, cc65_sin (sa));
|
y1 = y - tgi_imulround (ry, cc65_sin (sa));
|
||||||
do {
|
do {
|
||||||
sa += inc;
|
sa += inc;
|
||||||
if (sa >= ea) {
|
if (sa >= ea) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user