about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index e9092067..c5d29a1c 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -860,7 +860,7 @@ x64emurun:
         case 0x9D:                      /* POPF */
             if(ACCESS_FLAG(F_TF) && !tf_next)
                 --tf_next;
-            emu->eflags.x64 = (((rex.is32bits?Pop32(emu):Pop64(emu)) & 0x3F7FD7)/* & (0xffff-40)*/ ) | 0x2; // mask off res2 and res3 and on res1
+            emu->eflags.x64 = (((rex.is32bits?Pop32(emu):Pop64(emu)) & 0x3F7FD7)/* & (0xffff-40)*/ ) | 0x202; // mask off res2 and res3 and on res1
             RESET_FLAGS(emu);
             if(ACCESS_FLAG(F_TF))
                 ++tf_next;