about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-08 21:26:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-08 21:26:37 +0100
commit50fa1046c762ba27c4e704b7a1cfbca552e2c5c5 (patch)
tree5032ec7335df795af9a5e2466e179f8819ec1d5b /src
parent0e958fed2ed33161e2407026bf73b67266bdd3b0 (diff)
downloadbox64-50fa1046c762ba27c4e704b7a1cfbca552e2c5c5.tar.gz
box64-50fa1046c762ba27c4e704b7a1cfbca552e2c5c5.zip
Switched emu flags to 64bits
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64emu_private.h2
-rwxr-xr-xsrc/include/regs.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/x64emu_private.h b/src/emu/x64emu_private.h
index 113b722d..b4415673 100755
--- a/src/emu/x64emu_private.h
+++ b/src/emu/x64emu_private.h
@@ -26,7 +26,7 @@ typedef struct forkpty_s {
 typedef struct x64emu_s {
     // cpu
 	reg64_t     regs[16];
-	x86flags_t  eflags;
+	x64flags_t  eflags;
     reg64_t     ip;
     uintptr_t   old_ip;
     // fpu / mmx
diff --git a/src/include/regs.h b/src/include/regs.h
index f75624a0..b024cb83 100755
--- a/src/include/regs.h
+++ b/src/include/regs.h
@@ -173,7 +173,8 @@ typedef union {
         unsigned int _F_ID:1;
     } f;
     uint32_t    x32;
-} x86flags_t;
+	uint64_t 	x64;
+} x64flags_t;
 
 typedef enum {
     F_CF = 0,