diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-05 17:54:08 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-05 17:54:08 +0100 |
| commit | ec3341e5d606601d084cb415aa4f4cde081b57da (patch) | |
| tree | 40bbca5be9b208b4921d926363d8b1d0ede5ebeb /src/main.c | |
| parent | a63e840674222c6980fe683581b2f8b422441f3a (diff) | |
| download | box64-ec3341e5d606601d084cb415aa4f4cde081b57da.tar.gz box64-ec3341e5d606601d084cb415aa4f4cde081b57da.zip | |
Some work to have steam streaming working (for #247)
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 71b8d3e8..d344a1c9 100755 --- a/src/main.c +++ b/src/main.c @@ -1070,11 +1070,17 @@ int main(int argc, const char **argv, const char **env) { printf_log(LOG_INFO, "steam-runtime-check-requirements detected, faking All is good!\n"); exit(0); // exiting, not testing anything } - // special case for steam-runtime-check-requirements to fake 64bits suport + // special case for steamwebhelper if(strstr(prgname, "steamwebhelper")==prgname) { printf_log(LOG_INFO, "steamwebhelper, ignoring for now!\n"); exit(0); // exiting } + // special case for streaming_client to use emulated libSDL2 + if(strstr(prgname, "streaming_client")==prgname) { + printf_log(LOG_INFO, "streaming_client detected, using emulated libSDL2!\n"); + AddPath("libSDL2-2.0.so.0", &my_context->box64_emulated_libs, 0); + AddPath("libSDL2_ttf-2.0.so.0", &my_context->box64_emulated_libs, 0); + } // special case for zoom if(strstr(prgname, "zoom")==prgname) { printf_log(LOG_INFO, "Zoom detected, trying to use system libturbojpeg if possible\n"); |