about summary refs log tree commit diff stats
path: root/src/libtools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-02-25 15:21:27 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-02-25 15:21:27 +0100
commitad332494d01897f876ab6b326cf895c9c9389ca9 (patch)
tree43422a7a0c5960d140c2e51e7436dbc55896387b /src/libtools
parenteb212cd27e104ce989e483536e8be6123c594255 (diff)
downloadbox64-ad332494d01897f876ab6b326cf895c9c9389ca9.tar.gz
box64-ad332494d01897f876ab6b326cf895c9c9389ca9.zip
[STEAM] Added a workaround for issue with steamwebhelper running on Armbian (for #528 and other tickets)
Diffstat (limited to 'src/libtools')
-rwxr-xr-xsrc/libtools/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c
index 92ab59ef..f72f6121 100755
--- a/src/libtools/signals.c
+++ b/src/libtools/signals.c
@@ -855,7 +855,7 @@ void my_box64signalhandler(int32_t sig, siginfo_t* info, void * ucntx)
     }
     dynablock_t* db = NULL;
     int db_searched = 0;
-    if ((sig==SIGSEGV) && (addr) && (info->si_code == SEGV_ACCERR) && (prot&PROT_DYNAREC)) {
+    if ((sig==SIGSEGV) && (addr) && /*(info->si_code == SEGV_ACCERR) &&*/ (prot&PROT_DYNAREC)) {
         mutex_lock(&mutex_dynarec_prot);
         // check if SMC inside block
         db = FindDynablockFromNativeAddress(pc);