diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-02-25 15:21:27 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-02-25 15:21:27 +0100 |
| commit | ad332494d01897f876ab6b326cf895c9c9389ca9 (patch) | |
| tree | 43422a7a0c5960d140c2e51e7436dbc55896387b /src/libtools | |
| parent | eb212cd27e104ce989e483536e8be6123c594255 (diff) | |
| download | box64-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-x | src/libtools/signals.c | 2 |
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); |