fixed 32 bit popf/iret emulation in vm86 mode

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@177 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-05-16 15:12:51 +00:00
parent 5132455efe
commit 418a97afa1
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ static inline unsigned int vm_getw(uint8_t *segptr, unsigned int reg16)
static inline unsigned int vm_getl(uint8_t *segptr, unsigned int reg16)
{
return tswap32(*(uint16_t *)(segptr + (reg16 & 0xffff)));
return tswap32(*(uint32_t *)(segptr + (reg16 & 0xffff)));
}
void save_v86_state(CPUX86State *env)