diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-05-21 13:01:23 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-05-21 13:01:23 +0200 |
| commit | 6c367f4a29af2d2e55a6ebbd9072622eae89f8ae (patch) | |
| tree | c2a2bca03cd27abe22127bc935f10f405ae017a9 | |
| parent | c8d4d3b69e045e105a690d5cbd20ad70ec801b83 (diff) | |
| download | box64-6c367f4a29af2d2e55a6ebbd9072622eae89f8ae.tar.gz box64-6c367f4a29af2d2e55a6ebbd9072622eae89f8ae.zip | |
Fixed the workaround for gog installer on PI & RK3399 SBC beeing slow to start
| -rwxr-xr-x | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 37a8b6a9..42b2e600 100755 --- a/src/main.c +++ b/src/main.c @@ -1364,7 +1364,7 @@ int main(int argc, const char **argv, char **env) { my_context->ep = GetEntryPoint(my_context->maplib, elf_header); #if defined(RPI) || defined(RK3399) || defined(RK3326) // before launching emulation, let's check if this is a mojosetup from GOG - if (((strstr(prog, "bin/linux/x86/mojosetup") && getenv("MOJOSETUP_BASE")) || strstr(prog, ".mojosetup/mojosetup")) + if (((strstr(prog, "bin/linux/x86_64/mojosetup") && getenv("MOJOSETUP_BASE")) || strstr(prog, ".mojosetup/mojosetup")) && getenv("GTK2_RC_FILES")) { sanitize_mojosetup_gtk_background(); } |