From: uz Date: Thu, 5 Nov 2009 20:26:23 +0000 (+0000) Subject: Fixed a sign error. X-Git-Tag: V2.13.1~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bafd7a7279c857bf27bc7d762d5d1100f1684297;p=cc65 Fixed a sign error. git-svn-id: svn://svn.cc65.org/cc65/trunk@4448 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/tgi/tgi_arc.c b/libsrc/tgi/tgi_arc.c index 630055abb..d4bb84f2b 100644 --- a/libsrc/tgi/tgi_arc.c +++ b/libsrc/tgi/tgi_arc.c @@ -71,7 +71,7 @@ void __fastcall__ tgi_arc (int x, int y, unsigned char rx, unsigned char ry, /* Calculate the start coords */ 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 { sa += inc; if (sa >= ea) {