mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 06:18:08 +00:00
x86: fix writing to UC_X86_REG_FPCW
This commit is contained in:
parent
28b94d10b8
commit
75e5fb466c
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
|
|||
}
|
||||
break;
|
||||
case UC_X86_REG_FPCW:
|
||||
*(uint16_t*) value = X86_CPU(uc, mycpu)->env.fpuc;
|
||||
X86_CPU(uc, mycpu)->env.fpuc = *(uint16_t *)value;
|
||||
break;
|
||||
case UC_X86_REG_FPTAG:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue