diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-03-20 11:01:18 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-03-20 11:01:18 +0100 |
| commit | aed08d428e1499b75c470d97d422b37838ec3e2b (patch) | |
| tree | f1a513aeb84b306daabe4c389a6e332c44f1a179 /src/tools/env.c | |
| parent | affeef2380beb467cf2daecb166bb16d8612c365 (diff) | |
| download | box64-aed08d428e1499b75c470d97d422b37838ec3e2b.tar.gz box64-aed08d428e1499b75c470d97d422b37838ec3e2b.zip | |
[RCFILE] Fixed BOX64_EMULATED_LIBS that was broken when used inside an rcfile
Diffstat (limited to 'src/tools/env.c')
| -rw-r--r-- | src/tools/env.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/env.c b/src/tools/env.c index c41d9b42..f1390fbe 100644 --- a/src/tools/env.c +++ b/src/tools/env.c @@ -182,6 +182,9 @@ static void applyCustomRules() snprintf(pathname, sizeof(pathname), "/tmp/perf-%d.map", getpid()); SET_BOX64ENV(dynarec_perf_map_fd, open(pathname, O_CREAT | O_RDWR | O_APPEND, S_IRUSR | S_IWUSR)); } + if (box64env.emulated_libs) { + AppendList(&my_context->box64_emulated_libs, box64env.emulated_libs, 0); + } if (!box64env.libgl) { const char *p = getenv("SDL_VIDEO_GL_DRIVER"); if(p) SET_BOX64ENV(libgl, box_strdup(p)); |