GBA BIOS: Fix last commit

This commit is contained in:
Jeffrey Pfau 2016-08-13 14:18:16 -07:00
parent 6867400ca8
commit d9f486fd6a
1 changed files with 4 additions and 3 deletions

View File

@ -349,10 +349,11 @@ void GBASwi16(struct ARMCore* cpu, int immediate) {
case 0x8:
cpu->gprs[0] = sqrt((uint32_t) cpu->gprs[0]);
break;
case 0x9:
cpu->gprs[0] = _ArcTan(cpu->gprs[0]);
case 0x9:
cpu->gprs[0] = (uint16_t) _ArcTan(cpu->gprs[0]);
break;
case 0xA:
cpu->gprs[0] = _ArcTan2(cpu->gprs[0], cpu->gprs[1]);
cpu->gprs[0] = (uint16_t) _ArcTan2(cpu->gprs[0], cpu->gprs[1]);
break;
case 0xB:
case 0xC: