tiny little error in fsincos
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1030
This commit is contained in:
parent
3afdb23daf
commit
66d0d1648b
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue