Implement Sqrt
Jeffrey Pfau jeffrey@endrift.com
Wed, 01 May 2013 00:27:31 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-bios.c
→
src/gba/gba-bios.c
@@ -122,6 +122,9 @@ gba->cpu.gprs[1] = result.rem;
gba->cpu.gprs[3] = abs(result.quot); } break; + case 0x8: + gba->cpu.gprs[0] = sqrt(gba->cpu.gprs[0]); + break; case 0xB: _CpuSet(gba); break;