From b43f89566f7ec3f209a2e2862089c3d7fa36befa Mon Sep 17 00:00:00 2001 From: feliam Date: Tue, 15 Mar 2016 12:17:40 -0300 Subject: [PATCH] Bugfix --- qemu/target-i386/unicorn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target-i386/unicorn.c b/qemu/target-i386/unicorn.c index a3ccfe8c..6d149ece 100644 --- a/qemu/target-i386/unicorn.c +++ b/qemu/target-i386/unicorn.c @@ -156,6 +156,7 @@ int x86_reg_read(struct uc_struct *uc, unsigned int regid, void *value) fpus |= ( X86_CPU(uc, mycpu)->env.fpstt & 0x7 ) << 11; *(uint16_t*) value = fpus; } + break; case UC_X86_REG_FPCW: *(uint16_t*) value = X86_CPU(uc, mycpu)->env.fpuc; break;