mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-10-04 16:08:24 +00:00
redirect: Temporarily teach it about ShooterGame for debugging
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
+10
-1
@@ -155,7 +155,16 @@ __attribute__((constructor)) static void lsi_redirect_init(void)
|
||||
return;
|
||||
}
|
||||
|
||||
fprintf(stderr, "Loaded lsi_redirect for: %s\n", process_name);
|
||||
/* Temporary hack, we'll make this more generic later */
|
||||
if (strcmp(process_name, "ShooterGame") == 0) {
|
||||
lsi_override = true;
|
||||
}
|
||||
|
||||
if (!lsi_override) {
|
||||
return;
|
||||
}
|
||||
|
||||
fprintf(stderr, "Enabled lsi_redirect for: %s\n", process_name);
|
||||
}
|
||||
|
||||
_nica_public_ int open(const char *p, int flags, ...)
|
||||
|
||||
Reference in New Issue
Block a user