From 6c4c07d4b3a0e9d60fec8c4b9f753514da367087 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Fri, 4 Mar 2005 22:08:55 +0000 Subject: 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 --- src/devices/emulator/x86emu/ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/emulator/x86emu') diff --git a/src/devices/emulator/x86emu/ops.c b/src/devices/emulator/x86emu/ops.c index 5666dea40a..2534b65863 100644 --- a/src/devices/emulator/x86emu/ops.c +++ b/src/devices/emulator/x86emu/ops.c @@ -2227,7 +2227,7 @@ void x86emuOp_xchg_word_AX_register(u8 X86EMU_UNUSED(op1)) DECODE_PRINTF("\n"); TRACE_AND_STEP(); tmp = M.x86.R_AX; - M.x86.R_EAX = *reg16; + M.x86.R_AX = *reg16; *reg16 = (u16)tmp; } DECODE_CLEAR_SEGOVR(); -- cgit v1.2.3