aboutsummaryrefslogtreecommitdiff
path: root/libs/nak_ffi/include
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nak_ffi/include')
-rw-r--r--libs/nak_ffi/include/nak_ffi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/nak_ffi/include/nak_ffi.h b/libs/nak_ffi/include/nak_ffi.h
index c6010d4..df4d47b 100644
--- a/libs/nak_ffi/include/nak_ffi.h
+++ b/libs/nak_ffi/include/nak_ffi.h
@@ -194,6 +194,18 @@ char *nak_apply_wine_registry_settings(
uint32_t app_id
);
+/** Apply a game's registry entry with a custom install path.
+ * Looks up game_name in KNOWN_GAMES and writes registry pointing to install_path.
+ * Returns NULL on success, or an error message (free with nak_string_free). */
+char *nak_apply_registry_for_game_path(
+ const char *prefix_path,
+ const char *proton_name,
+ const char *proton_path,
+ const char *game_name,
+ const char *install_path,
+ NakLogCallback log_cb
+);
+
/* ========================================================================
* Tier 7: Prefix Symlinks
* ======================================================================== */