From a32e1ba6586f91f78f998a16db586bbef26b2ae4 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 19 Jun 2003 17:47:56 +0000 Subject: [PATCH] Fix SETXF instructions Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1078 --- src/cpu/core_full/save.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/core_full/save.h b/src/cpu/core_full/save.h index 6c8f9c55..06e80770 100644 --- a/src/cpu/core_full/save.h +++ b/src/cpu/core_full/save.h @@ -2,7 +2,7 @@ switch (inst.code.save) { /* Byte */ case S_C_Eb: - inst.op1.b=inst.cond; + inst.op1.b=inst.cond ? 1 : 0; case S_Eb: if (inst.rm<0xc0) SaveMb(inst.rm_eaa,inst.op1.b); else reg_8(inst.rm_eai)=inst.op1.b;