fixed a bug cause failure on some expensive VGA cards

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Li-Ta Lo 2005-03-04 22:08:55 +00:00
parent be977a14d1
commit 6c4c07d4b3
1 changed files with 1 additions and 1 deletions

View File

@ -2227,7 +2227,7 @@ void x86emuOp_xchg_word_AX_register(u8 X86EMU_UNUSED(op1))
DECODE_PRINTF("\n"); DECODE_PRINTF("\n");
TRACE_AND_STEP(); TRACE_AND_STEP();
tmp = M.x86.R_AX; tmp = M.x86.R_AX;
M.x86.R_EAX = *reg16; M.x86.R_AX = *reg16;
*reg16 = (u16)tmp; *reg16 = (u16)tmp;
} }
DECODE_CLEAR_SEGOVR(); DECODE_CLEAR_SEGOVR();