From 7393337fcfe1573022ab3629b7a7f812c55e1098 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Sat, 30 Nov 2013 23:14:54 +0000 Subject: [PATCH] [FAST486] Use the size of CS, and not SS, in Fast486OpcodePopReg. svn path=/branches/ntvdm/; revision=61159 --- lib/fast486/opcodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fast486/opcodes.c b/lib/fast486/opcodes.c index 1d6016067a4..539b8fe0825 100644 --- a/lib/fast486/opcodes.c +++ b/lib/fast486/opcodes.c @@ -541,7 +541,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodePushReg) FAST486_OPCODE_HANDLER(Fast486OpcodePopReg) { ULONG Value; - BOOLEAN Size = State->SegmentRegs[FAST486_REG_SS].Size; + BOOLEAN Size = State->SegmentRegs[FAST486_REG_CS].Size; TOGGLE_OPSIZE(Size); NO_LOCK_PREFIX(); -- 2.17.1