diff --git a/src/frontend/main.c b/src/frontend/main.c index 6dba703..1a0dc3b 100644 --- a/src/frontend/main.c +++ b/src/frontend/main.c @@ -153,6 +153,9 @@ int main(int argc, char **argv) /* Get the config from the UI */ lconfig.use_native_runtime = gtk_switch_get_active(GTK_SWITCH(check_native)); lconfig.force_32 = gtk_switch_get_active(GTK_SWITCH(check_emul32)); +#ifdef HAVE_LIBINTERCEPT + lconfig.use_libintercept = gtk_switch_get_active(GTK_SWITCH(check_intercept)); +#endif /* Cleanup */ gtk_widget_destroy(dialog); diff --git a/src/lsi/lsi.c b/src/lsi/lsi.c index ff2a97d..95a5ed4 100644 --- a/src/lsi/lsi.c +++ b/src/lsi/lsi.c @@ -185,7 +185,7 @@ bool lsi_config_store(LsiConfig *config) return false; } if (fprintf(fp, - "[Steam]\nuse-native-runtime = %s\nforce-32bit = %s\nuse-libintercept=%s\n", + "[Steam]\nuse-native-runtime = %s\nforce-32bit = %s\nuse-libintercept = %s\n", lsi_bool_to_string(config->use_native_runtime), lsi_bool_to_string(config->force_32), lsi_bool_to_string(config->use_libintercept)) < 0) {