From 7212854cdd33c1fc273cd9d451a538f4e7724e7a Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 14 Aug 2016 23:59:20 -0700 Subject: [PATCH] GBA BIOS: Fix a typo in ArcTan2 --- src/gba/bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/bios.c b/src/gba/bios.c index ab125c051..d4ccd06f1 100644 --- a/src/gba/bios.c +++ b/src/gba/bios.c @@ -307,7 +307,7 @@ static int16_t _ArcTan2(int16_t x, int16_t y) { } else if (x >= -y) { return _ArcTan((y << 14) / x) + 0x10000; } - return 0xC000 - _ArcTan((x << 14 / y)); + return 0xC000 - _ArcTan((x << 14) / y); } }