From bafd7a7279c857bf27bc7d762d5d1100f1684297 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 5 Nov 2009 20:26:23 +0000 Subject: [PATCH] Fixed a sign error. git-svn-id: svn://svn.cc65.org/cc65/trunk@4448 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi_arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5