Permalink
Browse files
GBA BIOS: Fix a typo in ArcTan2
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
0 comments on commit
7212854