summaryrefslogtreecommitdiff
path: root/src/devices/emulator
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/emulator')
-rw-r--r--src/devices/emulator/x86emu/ops.c2
1 files changed, 1 insertions, 1 deletions
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();