From 6c367f4a29af2d2e55a6ebbd9072622eae89f8ae Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 21 May 2022 13:01:23 +0200 Subject: Fixed the workaround for gog installer on PI & RK3399 SBC beeing slow to start --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit 1.4.1