1
0
Fork 0

tiny little error in fsincos

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1030
This commit is contained in:
Peter Veenstra 2003-06-01 16:18:47 +00:00
parent 3afdb23daf
commit 66d0d1648b

View file

@ -76,8 +76,10 @@ static void FPU_FSIN(void){
static void FPU_FSINCOS(void){
Bitu top = FPU_GET_TOP();
fpu.regs[top].d = sin(fpu.regs[top].d);
double temp = sin(fpu.regs[top].d);
FPU_PUSH(cos(fpu.regs[top].d));
fpu.regs[top].d = temp;
//flags and such :)
return;
}