Add better rounded value for FLDLN2. Fixes rendering in Zone Raiders.

This commit is contained in:
SarahW 2018-03-28 20:33:18 +01:00
commit a4b8eba56b
3 changed files with 24 additions and 2 deletions

View file

@ -460,7 +460,7 @@ static int opFLDLN2(uint32_t fetchdat)
FP_ENTER();
cpu_state.pc++;
if (fplog) pclog("FLDLN2\n");
x87_push(0.693147180559945);
x87_push_u64(0x3fe62e42fefa39f0ull);
CLOCK_CYCLES(8);
return 0;
}