about summary refs log tree commit diff stats
path: root/src/box64context.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-07 11:44:09 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-07 11:44:09 +0100
commit2a514f14c13c93c32b5ba01a5a3cae811e9f3e0e (patch)
treedd0e0f51100d8144fda9bb832bde9e8ff633e108 /src/box64context.c
parent395d9eb6224841edf72d5494bf306cf1ff79915e (diff)
downloadbox64-2a514f14c13c93c32b5ba01a5a3cae811e9f3e0e.tar.gz
box64-2a514f14c13c93c32b5ba01a5a3cae811e9f3e0e.zip
Reworked FPU/MMX regs, added Context and Signal handling (and test13 works)
Diffstat (limited to 'src/box64context.c')
-rwxr-xr-xsrc/box64context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/box64context.c b/src/box64context.c
index 75fb5028..3a5e0c25 100755
--- a/src/box64context.c
+++ b/src/box64context.c
@@ -17,6 +17,7 @@
 #include "library.h"
 #include "wrapper.h"
 #include "x64emu.h"
+#include "signals.h"
 
 EXPORTDYN
 void initAllHelpers(box64context_t* context)
@@ -26,7 +27,7 @@ void initAllHelpers(box64context_t* context)
         return;
     my_context = context;
     init_pthread_helper();
-    //init_signal_helper(context);
+    init_signal_helper(context);
     inited = 1;
 }
 
@@ -37,7 +38,7 @@ void finiAllHelpers(box64context_t* context)
     if(finied)
         return;
     fini_pthread_helper(context);
-    //fini_signal_helper();
+    fini_signal_helper();
     cleanAlternate();
     fini_custommem_helper(context);
     finied = 1;