about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-05-21 13:01:23 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-05-21 13:01:23 +0200
commit6c367f4a29af2d2e55a6ebbd9072622eae89f8ae (patch)
treec2a2bca03cd27abe22127bc935f10f405ae017a9 /src/main.c
parentc8d4d3b69e045e105a690d5cbd20ad70ec801b83 (diff)
downloadbox64-6c367f4a29af2d2e55a6ebbd9072622eae89f8ae.tar.gz
box64-6c367f4a29af2d2e55a6ebbd9072622eae89f8ae.zip
Fixed the workaround for gog installer on PI & RK3399 SBC beeing slow to start
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
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();
     }