Correct top-of-stack value stored by FSTENV. Fixes rendering in
CNCD - Inside
This commit is contained in:
parent
e8d6266df6
commit
51516c0bb1
1 changed files with 2 additions and 0 deletions
|
|
@ -781,6 +781,8 @@ static int FSTENV()
|
|||
{
|
||||
FP_ENTER();
|
||||
if (fplog) pclog("FSTENV %08X:%08X\n", easeg, cpu_state.eaaddr);
|
||||
cpu_state.npxs = (cpu_state.npxs & ~(7 << 11)) | ((cpu_state.TOP & 7) << 11);
|
||||
|
||||
switch ((cr0 & 1) | (cpu_state.op32 & 0x100))
|
||||
{
|
||||
case 0x000: /*16-bit real mode*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue