diff options
| author | André Zwing <nerv@dawncrow.de> | 2023-07-19 19:25:45 +0200 |
|---|---|---|
| committer | André Zwing <nerv@dawncrow.de> | 2023-08-02 20:44:26 +0200 |
| commit | ff3a639c92e14209dc94e6c80db6947bfc4bd482 (patch) | |
| tree | d9a47ac183ce0a37635c438be0a8ee06f6655e4d | |
| parent | 3eae7156dcf029b1660cab720e18efd6dfae79bd (diff) | |
| download | box64-ff3a639c92e14209dc94e6c80db6947bfc4bd482.tar.gz box64-ff3a639c92e14209dc94e6c80db6947bfc4bd482.zip | |
Add missing curly brackets
| -rw-r--r-- | src/custommem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c index d2b752c0..a92f9831 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -1463,7 +1463,7 @@ void init_custommem_helper(box64context_t* ctx) memprot[i].prot = memprot_default; init_mutexes(); #ifdef DYNAREC - if(box64_dynarec) + if(box64_dynarec) { for(int i=0; i<(1<<JMPTABL_SHIFT3); ++i) box64_jmptbl3[i] = box64_jmptbldefault2; for(int i=0; i<(1<<JMPTABL_SHIFT2); ++i) @@ -1472,6 +1472,7 @@ void init_custommem_helper(box64context_t* ctx) box64_jmptbldefault1[i] = box64_jmptbldefault0; for(int i=0; i<(1<<JMPTABL_SHIFT0); ++i) box64_jmptbldefault0[i] = (uintptr_t)native_next; + } lockaddress = kh_init(lockaddress); #endif pthread_atfork(NULL, NULL, atfork_child_custommem); |